How to i remove the forward slash from the url of my website.
I have a simple website in php, which runs on linux with apache webserver. It does not uses any complex script etc. But when-ever i type the url http://www.example.com it is converted to http://www.example.com/
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]