Thread: Mod_rewrite
View Single Post
Old 10-25-2007, 04:02 PM   #6 (permalink)
Jmz
The Acquainted
 
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
Jmz is on a distinguished road
Default

Can anyone see where I'm going wrong with this?

PHP Code:
RewriteEngine On
RewriteRule 
^article/(.*)/(.*) /view.php?action=view&id=$1&article=$
It should be redirecting from www.mysite.com/view.php?action=view&id=14 to www.mysite.com/articles/14/article_name but I just get a 404 error.
Send a message via MSN to Jmz
Jmz is offline  
Reply With Quote