homepage Welcome to WebmasterWorld Guest from 23.20.61.85
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Sitemap.xml giving errors for & and &
darshanaasodekar

5+ Year Member



 
Msg#: 4286285 posted 1:26 pm on Mar 23, 2011 (gmt 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..

 

phranque

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



 
Msg#: 4286285 posted 4:54 am on Mar 24, 2011 (gmt 0)

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

darshanaasodekar

5+ Year Member



 
Msg#: 4286285 posted 6:39 am on Mar 24, 2011 (gmt 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?

darshanaasodekar

5+ Year Member



 
Msg#: 4286285 posted 8:15 am on Mar 26, 2011 (gmt 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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved