mod_rewrite always puzzles me ... can someone tell me the rules I need to get the following clean urls? Desired URL on the left, real URL on the right.
/our-work/ => /our-work.html /our-work/some-project/ => /our-work/some-project.html /contact/ => /contact.html
As you can see, I want to force slashes to all URLs as well.
Thanks!
.htaccess mod-rewrite clean-urls
alistairholt
source share