How the hell do you get mod_rewrite to work? it's just not happening for me.
I tried this:
- Code: Select all
RewriteEngine on
RewriteRule ^/([0-9][0-9])/$ /blog.php?article_id=$1
I'm trying to change the URL
http://www.theloop.org.uk/blog/blog.php?article_id=30 to
http://www.theloop.org.uk/blog/30/ but it's just not happening.
Can anyone tell me what I'm doing wrong? BTW the .htaccess file is in the /blog/ directory