I'm following this guide trying to rewrite my URLs from www.domain.com/index.php?page=foo to www.domain.com/foo/, and it's not working.

Shouldn't it just be like this?

RewriteEngine on
RewriteRule /([a-z]+) index.php?page=$1

I know I'm doing something wrong here, but there are just so many guides and ways to do this (apperently), so I'm a bit confused.. :-/

Thanks!

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.