Remove trailing slashes from URL in htaccess
This is what my htaccess file looks like:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
But I don't know to remove trailing slashes from the url or redirect the user to a page without trailing slashes.
|