WordPress adds trailing slash to each url as per permalink settings.
/%postname%/
So if you browse www.mysite.com/about-us you will be redirected to www.mysite.com/about-us/
Is it possible to disable this redirect so that the page is served with and without the trailing slash.
change permalink /%postname%/ to /%postname%

Right below the RewriteEngine On line, add:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R]
Moreinfo htaccess code
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With