xcoaster1 Posted September 19, 2008 Share Posted September 19, 2008 I have confirmed mod_rewrite is loaded and working .. as the first line is working properly as a test, but my events rewrite is not working .. any ideas? RewriteEngine on RewriteRule ^index\.htm$ index.php RewriteRule ^events/([0-9]+)/([0-9]+)/([0-9]+)/([0-9]+)$ events.php?id=$1&active=$2&flyer=$3&type_id=$4 The URL would look like this: http://www.domain.tld/dev/events.php?id=xxx&active=x&flyer=x&type_id=x Link to comment https://forums.phpfreaks.com/topic/124969-rewrite-not-rewriting-string/ Share on other sites More sharing options...
xcoaster1 Posted September 19, 2008 Author Share Posted September 19, 2008 Should say .. the URL should appear like as follows after the rewrite: http://www.domain.tld/dev/events/xx/x/x/x Although I would like it to appear as: http://www.domain.tld/dev/events.php/xx/x/x/x Link to comment https://forums.phpfreaks.com/topic/124969-rewrite-not-rewriting-string/#findComment-645833 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.