I’m looking through the Google Sitemaps, there is one site listed as a “Duplicate with no canonical user selection”. The website is listed as “https://www.website.com/subsite/subsite /” (I have put the quotation mark on the url) where there is therefore a space before the last slash/path.
The web pages are automatically generated from a web database against php, and I have no idea where Google got the idea that exactly one page, and only one page, should have an extra space in it.
I’ve tried reading on Google’s pages for a solution, without getting any the wiser.
I have also tried to find out if it is possible to do something with htaccess, but I have not become any wiser here either.
Is there any way to remove space before path/slash? Best solution is maybe to somehow redirect “https://www.website.com/subsite/subsite /” to “https://www.website.com/subsite/subsite/”, but my attempts to do so fails. (Again; I have put the quotation mark on the url)
I have read on Google sitemaps internal sites, and tried different solutions with htaccess and so on
Mr. B is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.