Reputation: 17530
Which of this is a valid URL/URI in a sitemap ?
www.site.com?id=5&token=10
www.site.com?id=5&token=10
Upvotes: 1
Views: 286
Reputation: 162
You should use
&
instead &.
Here is the part of official doc:
Entity escaping
Your Sitemap file must be UTF-8 encoded (you can generally do this when you save the file).
As with all XML files, any data values (including URLs) must use entity escape codes for the
characters listed in the table below.
Character Escape Code
Ampersand & &
Single Quote ' '
Double Quote " "
Greater Than > >
Less Than < <
Upvotes: 1