I want my to reach my website's main page when entering an url like:
However, I can't seem to get it to work with a typical rewrite rule:
RewriteRule ^/blog$ /
I'm always taken to my site's 404 page.
Works fine if I specify a specific file (e.g. "/foo.html") instead of "/", but "/index.php" doesnt't work.
How can I make this work?