& amp ; in sitemap links, are they deal with?
Straightforward inquiry, I'm asking simply to see to it.
A Google sitemap generator created a sitemap.txt fle with links created similar to this:
is it proper to make use of the
& in these links instead of the
& or it is simply a mistake made by the sitemap generator?
URL - Encoding and also XML entity inscribing are not the very same points. You require URL - Encoding to change unique personalities in URLs, such as & which can just be made use of for the splitting up of question parameters. XML entity encoding is for inscribing unique personalities in XML (additionally XHTML). This suggests, if you have a URL in an XML (or XHTML) documents, and also this URL consists of some & personalities, you need to entity inscribe it to & amp ;. So in a sitemap.xml you will certainly have links like in the inquiry from Marco Demaio.
That is proper. It is the HTML entity for an ampersand (
&) and also is the correct personality depiction of it in an effectively inscribed URL. Ampersands (
&) and also well as
< and also
> are unique personalities in XML and also HTML and also require to be presented utilizing their unique personality entities.
Your Sitemap documents have to be UTF - 8 inscribed (you can usually do this when you conserve the documents). Similar to all XML files, any kind of information values (consisting of URLs) have to make use of entity retreat codes for the personalities.
This might assist, http://sitemaps.org/protocol.php