Welcome to WebmasterWorld Guest from 54.159.129.152

Forum Moderators: goodroi

Message Too Old, No Replies

Sitemap.xml giving errors for & and &

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

New User

5+ Year Member

joined:Nov 13, 2007
posts: 16
votes: 0


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)

Administrator

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

joined:Aug 10, 2004
posts:10596
votes: 22


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)

New User

5+ Year Member

joined:Nov 13, 2007
posts: 16
votes: 0


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)

New User

5+ Year Member

joined:Nov 13, 2007
posts: 16
votes: 0


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?
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members