I have these urls in my blog
http://myblog.com/news/post1/index.php
http://myblog.com/updates/post3/index.html
http://myblog.com/index.html
http://myblog.com/blog/post4/index.php
How do I setup .htaccess so that all the urls will end with "/"
http://myblog.com/news/post1/
http://myblog.com/updates/post3/
http://myblog.com/
http://myblog.com/blog/post4/
Thanks in advance!
To remove the .php extension from a PHP file:
If you want to remove the .html extension from a html file:
Or see this post: