• Welcome to Sitemap Generator Forum.
 

html works, not .xml

Started by henry, June 30, 2006, 07:37:27 AM

Previous topic - Next topic

henry

Hello! We have some trouble with sitemap.xml. sitemap.html is working fine but when we cut a link out from .xml and paste it into the browser it dosen't work proply. It is links from our item_list that is wrong the rest is fine.

From sitemap.xml:

Not working:  <loc>[ External links are visible to forum administrators only ]</loc>

Working: [ External links are visible to forum administrators only ]

Please Help

XML-Sitemaps Support

Hello,

the links in xml sitemap are stored in a special encoding, according to Google sitemap protocol. You should not copy'n'paste the links directly from xml source. please use html sitemap for this.

henry

i read in googles help that you can do that to try if the link is working (cut it and paste it in a browser), we have error on line 1991 suspect it has some to do with åäö,

1991: <loc>[ External links are visible to forum administrators only ] b&aring;da</loc>

henry

From google:

Invalid URL



The listed URL is not valid. Correct the URL in the Sitemap, then resubmit.

Make sure the URLs listed in your Sitemap are encoded for readability and escaped properly. You also try copying the URL into a browser to see if the browser can understand the URL and load the page.

Make sure the URL contains no extra characters (for instance, make sure the URL isn't enclosed by quotes).


XML-Sitemaps Support

Hello,

please make sure that you have special characters urlencoded in your links, for instance,
this is incorrect:
http://www.kondomeri.se/item_list.php?maingroup=Apoteket&secondgroup=För båda
while this one is fine:
http://www.kondomeri.se/item_list.php?maingroup=Apoteket&secondgroup=F%C3%B6r%20b%C3%A5da