Nuv Posted April 12, 2008 Share Posted April 12, 2008 I have a site with url http://www.example.com/ but i want to remove the trailing slash to make it http://www.example.com/ so i wrote .htaccess file RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !(.*)$ RewriteRule ^(.*)$ http://www.exaple.com/$1 [R=301,L] and put it in the mail folder....still it is not working Pls help Quote Link to comment https://forums.phpfreaks.com/topic/100774-htaccess/ Share on other sites More sharing options...
Nuv Posted April 12, 2008 Author Share Posted April 12, 2008 Sorry i want to change it to http://www.example.com with no / Quote Link to comment https://forums.phpfreaks.com/topic/100774-htaccess/#findComment-515456 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.