|
So, working with .htaccess isn't my greatest strength, and it's not exactly too easy to find (understandable) examples!
Two questions,
1. How do I remove all trailing slashes from urls?
For example, redirecting domain.com/page/3/ to domain.com/page/3
I seem to be able to find plenty of tutorials on adding the trailing slash, but not removing it!
2. How would I redirect domain.com/index.php to domain.com?
Therefore hiding the filename from the user, just for the index.php file though, I've got all the other urls sorted with mod_rewrite.
Thanks in advance!
|