jdubwelch Posted April 7, 2009 Share Posted April 7, 2009 I read some stuff and copied it, but I'm getting a 500 error. existing url: headline.php?headline=$headline_id&title=$headline_title rewrite to: headline/$headline_id/$headline_title/ this is my rewrite that errors out: RewriteRule ^headline/([0-9]+)/[A-Za-z0-9-]+)/?$ headline.php?headline=$1&title=$2 [L] Link to comment https://forums.phpfreaks.com/topic/153048-yet-another-rewrite-help/ Share on other sites More sharing options...
killah Posted April 8, 2009 Share Posted April 8, 2009 RewriteRule ^headline/([^\.]+)/([^\.]+)$ headline.php?headline=$1&title=$2 [NC,L] Try that. Link to comment https://forums.phpfreaks.com/topic/153048-yet-another-rewrite-help/#findComment-804275 Share on other sites More sharing options...
jdubwelch Posted April 10, 2009 Author Share Posted April 10, 2009 that didn't work either. Link to comment https://forums.phpfreaks.com/topic/153048-yet-another-rewrite-help/#findComment-806132 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.