Duplicate pages with "/" and without "/"
-
I seem to have duplicate pages like the examples below:
This is happening on 3 pages and I'm not sure why or how to fix it. The first (https://example.com) is what I want and is what I have all my canonicals set too, but that doesn't seem to be doing anything. I've also setup 301 redirects for each page with "/" to be redirected to the page without it. Doing this didn't seem to fix anything as when I use the (https://example.com/) URL it doesn't redirect to (https://example.com) like it's supposed to.
This issue has been going on for some time, so any help would be much appreciated.
I'm using Squarespace as the design/hosting site.
-
Hey there,
The 301 redirects should solve the duplicates issue but if it doesn't work, the error is probably somewhere on the CMS side. Try to look at .htaccess for a potential mistypes in the 301 settings or try a different WP plugin.
Also, if it keeps indexing, you can set "noindex, follow" to the "/" version.
Hope it helps. Cheers, Martin
-
Hi
I would not noindex a "/" version because you will simply lose all of that traffic. I would make sure as Martin has said that here is a proper directive in the .htaccess.txt that automatically redirects "/" to the non "/2 version - knocking the "/" off.
Any competent web developer can do this for you.
If this is a shared server then you will need to ask Squarespace for help as you may not have access to an .htaccess.txt file.
Regards Nigel