Should Sitemap include spaces in URLs?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
RiverMonster
Sr. Propeller Head
Posts: 149
Joined: Fri May 09, 2008 8:51 am
Location: Alicante, Spain
Contact:

Should Sitemap include spaces in URLs?

Post by RiverMonster »

Hi,

I am using Flare to generate the Sitemap.xml file for our website.

I notice that when my files or folder have spaces these spaces are retained in the sitemap file.

E.g.

Code: Select all

  
<url>
   <loc>https://<our website>/Content/Employees/Employees Landing Page.htm</loc>
</url>
Is this correct behavior? I expected the links in the sitemap file to look exactly like they look on the website with blanks replaced by %20 e.g.

Code: Select all

https://<our website>/Content/Employees/Employees%20Landing%20Page.htm
Thanks

Adrian
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Should Sitemap include spaces in URLs?

Post by NorthEast »

I've not had a problem with it.
For a number of years I've submitted sitemap XML files to Google Search Console tools, and it indexes the topics fine and doesn't complain about spaces in the URLs.
RiverMonster
Sr. Propeller Head
Posts: 149
Joined: Fri May 09, 2008 8:51 am
Location: Alicante, Spain
Contact:

Re: Should Sitemap include spaces in URLs?

Post by RiverMonster »

Dave Lee wrote:I've not had a problem with it.
For a number of years I've submitted sitemap XML files to Google Search Console tools, and it indexes the topics fine and doesn't complain about spaces in the URLs.
Thanks for the reply Dave. That's comforting to know.

Adrian
Post Reply