/ Published in: Apache

How to remove trailing slashes in URL's using .htaccess.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#get rid of trailing slashes RewriteCond %{HTTP_HOST} ^(www.)?turbocelica\.lv$ [NC] RewriteRule ^(.+)/$ http://www.turbocelica.lv/$1 [R=301,L]
Comments
