I want to add a trailing slash after all my URLs
This is the code that I have on my .htaccess
But it is not working. I also restarted the lightspeed webserver after editing the .htaccess
How do I add a trailing slash after all my URLs?
This is the code that I have on my .htaccess
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.domain.com/$1/ [L,R=301]
But it is not working. I also restarted the lightspeed webserver after editing the .htaccess
How do I add a trailing slash after all my URLs?