Trailing Slash / Canonical URL
-
Hello,
I’ve noticed a strange thing occurring on our website..
When I type in a subpage URL without an ending “trailing slash”, it does not redirect or force the “trailing slash”.
I have added a “force trailing slash” script on my .htaccess and it still does not work. It works on other sites.
Here is the script:
# Force trailing slash <IfModule mod_rewrite.c> RewriteCond %{REQUEST_URI} /+[^\.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L] </IfModule>
I have contacted GoDaddy and they are not sure why it isn’t working either. Could this be a setting I missed using YOAST? Is this anything to even be concerned with related to SEO?
Here is a video demo I created. The first site is the one in question. The other site works:
https://www.loom.com/share/28d862ca0cf74a88a65e1ca1226afab4Here is a page as an example
(Notice no trailing slash)..
https://www.allvalleytransportation.com/phoenix-car-serviceAny help or suggestions would be great.
Thanks so much
The page I need help with: [log in to see the link]
- The topic ‘Trailing Slash / Canonical URL’ is closed to new replies.