Thread: Mod_rewrite ???
View Single Post
  #1 (permalink)  
Old Jul 17th, 2007, 10:12
Blake121 Blake121 is offline
Reputable Member
Join Date: Apr 2007
Location: Scotland
Age: 17
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Mod_rewrite ???

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
Reply With Quote