Okay, so this script works great:
However, it would be even better if it would work without having to add the extra forward slash on a link: www.yourdomain.com/about/ rather than having it like this: www.yourdomain.com/aboutHTML Code:Options +FollowSymlinks RewriteCond %{HTTP_HOST} ^tbplasteringltd.co.uk$ [NC] RewriteRule ^(.*)$ http://www.tbplasteringltd.co.uk/$1 [R=301,L] RewriteEngine on RewriteRule ^(.*)\/$ $1.php [NC]
I've seen sites that use the forward slash but if you take it away, it will instantly forward to the one with the forward slash. It looks so much more professional. Anyone have any ideas?


Reply With Quote

Bookmarks