How to successfully Rewrite a URL with .htaccess
- by Ian Storm Taylor
Hello.
I am trying to rewrite mysite.com/broadcasts to mysite.com/feed so that it will show up in the location bar as "broadcasts" but actually go to /feed.
Here is what I have in the .htaccess file:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^broadcasts(/)?$ /feed/
</IfModule>
But this isn't working... I get a 404 error.
Wondering if I'm doing something stupidly wrong.
Thanks!