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] Quote 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. Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/153048-yet-another-rewrite-help/#findComment-806132 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.