remove trailing slash

[code]RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) $1\.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)/$ /$1 [R=301,L][/code]




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *