It's only for pages with an Articulate doc type.
It's only when IPublishedContent.Url is being called inside a view
When I go to the page where the faulty url was, the url is now the correct one (with only one slash at the end)
I was thinking: fine, I will set a rewrite rule to catch all the urls with a double slash at the end using url rewrite 2, but even with a regex it doesn't seem to catch these urls.
The first question would be how URLs with double slash were added to the index.
Can you check the XML sitemap and navigation code? Maybe somewhere extra slash was added to URLs?
double slash at the end of the url
I have this website with umbraco v7.15.10 and I am using Articulate v3.0.2 for blog engine.
On google console search, I noticed that some pages were added to the google index with a double slash at the end like this one:
https://www.gogetgroomed.co.uk/blog/archive/5-reasons-you-are-having-a-bad-hair-day-everyday//
What I found out:
It's only for pages with an Articulate doc type. It's only when IPublishedContent.Url is being called inside a view
When I go to the page where the faulty url was, the url is now the correct one (with only one slash at the end)
I was thinking: fine, I will set a rewrite rule to catch all the urls with a double slash at the end using url rewrite 2, but even with a regex it doesn't seem to catch these urls.
In the config, addTrailingSlash is set to true.
Any tips ?
Hi Giu
The first question would be how URLs with double slash were added to the index. Can you check the XML sitemap and navigation code? Maybe somewhere extra slash was added to URLs?
Thanks, Alex
is working on a reply...