Home › Forums › Other › How to remove subdirectories using mod_rewrite in .htaccess › Reply To: How to remove subdirectories using mod_rewrite in .htaccess
Thanks for your suggestion. But example.com/keyword/
and example.com/keyword
will be considered as 2 different pages in the eyes of Google and the Page Rank assigned to them will be different too.
I still prefer to standardize my url to all having a trailing slash. So, how do I go about doing that if I don’t want to use this RewriteCond %{REQUEST_URI} !(.[a-zA-Z0-9]{1,5}|/)$
since I’m afraid it may produce false results, as you said?
By the way, I went over to look for the difference between REQUEST_URI and REQUEST_FILENAME, http://httpd.apache.org/ doesn’t explain well. Other sites simply parrot what it says. I would like to hear from you. Thanks.