Hi, I created a sitemap of my website: http://www.lilwaynehq.com/sitemap and I have tried all extensions such as: xml, html, php etc, but it kept coming back as an error by Google when I added them from the webmasters tools Anyone know why its an error? and how I can fix it Thanks
That isn't an XML Sitemap, thats why. Its just a normal page with lots of <a> links. You should learn how to create a proper XML Sitemap. This is an example of one: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" > <url> <loc>http://www.example.com</loc> </url> <url> <loc>http://www.example.com/page.php</loc> </url> </urlset> Code (markup): Its as simple as that. To add new pages, just copy the <url> to </url> code and change the URL to the next page. Hope I helped!
To understand the differences between XML and HTML sitemaps, you may check this sitemaps comparison article containing explanation and code samples for all sitemap file kinds.
Well I tried what you said hosty-crocodile: http://www.lilwaynehq.com/sitemap/sitemap.xml But as you can see, it doesn't look correct, I know I havent changed the links to my own website, but I can easy do that, but I want to get it working right first. Can anyone help me Thanks