0

This has been bothering me for a while... 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. We do pay for firewall services (securi) with them so I'm not sure whether this is the culprit or not. 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/28d862ca0cf74a88a65e1ca1226afab4

Here is a page as an example (Notice no trailing slash).. https://www.allvalleytransportation.com/phoenix-car-service

Here is a site where the script works just fine (again notice the typed URL below does not have a trailing slash" https://koalabrands.com/eucalyptus-oil-balm-information

Stephen Ostermiller
  • 23,933
  • 14
  • 88
  • 109

0 Answers0