How can I redirect domain.com/something to domain.com/?foo=something using .htaccess?
I have a code that does a similar thing:
RewriteRule ^go/([a-z]+) http://domain.com/?foo=$1 [NC,R]
This will do, in e.g. domain.com/go/something redirect to domain.com/?foo=something
It's probably easy to do but I can't make it work.. anyone knows how to do this?