Google Webmaster Tools sitemap.xml errors: URL not allowed...
Author: Juergen S.
Visited 2960,
Followers 1,
Shared 0
I did upload my site and I let Google test my sitemap.xlm. Now there's a lot of mistakes, because all -tags lead to a wrong Directory and URL.
At first I did ipload the site to a local Directory on my local XAMPP Apache Server (http://localhost/kursshop1.0/).
Now that I exported the site to the web (http://www.edvsauer.de/computertraining24Beta) the sitemap.xml still points to the old place even though I did export all files. Google tells me that the URL is not allowed for a sitemap at this position. What should I do to replace the wrong address in the map?
Posted on the
Author
sorry, it's all loc-Tags that are wrong
Author
Another picture of webmaster tools test result...
Author
... well I could fetch the file using filezilla, download it and edit it with Microsoft Visual Studio 2005 Editor (search and replace all "localhost/kursshop1.0" by "edvsauer.de/computertraining24...". Then I put it back to its place using filezilla. But is this the best solution? I don't hope so...
Hello Juergen,
If you change the website url in Step 1 of your project with the URL you use online then automatically in the sitemap.xml file it will have the correct url instead of localhost.
Hope this helps.