Welcome to WebmasterWorld Guest from

Forum Moderators: goodroi

Message Too Old, No Replies

Sitemap.xml giving errors for & and &



1:26 pm on Mar 23, 2011 (gmt 0)

5+ Year Member

I have sitemap.xml for my site... and have some urls with '&' in it.. Urls with '&' are thrown as errors by xml... I tried replacing '&' by 'amp;' but that is also throwing error as that also is not accepted.

There are some errors that are shown in google webmaster where it has replaced '&' to '%26'.

Please help me in solving this problem..


4:54 am on Mar 24, 2011 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Using non-alphanumeric characters in Sitemap URLs - Webmaster Tools Help:
http://www.google.com/support/webmasters/bin/answer.py?answer=35653 [google.com]


6:39 am on Mar 24, 2011 (gmt 0)

5+ Year Member

Thanks for the answer...
I tried using non-alphanumeric characters. But the problem is.... when I replace '&' by '&' our sql injection throws an error on ';'.. So i am not able to replace it to '&'.

Is there any other way?


8:15 am on Mar 26, 2011 (gmt 0)

5+ Year Member

Please can anyone tell me the answer to the above question or suggest me any solution over SQL injection script that is being used to restrict database hacking?

Featured Threads

Hot Threads This Week

Hot Threads This Month