View Full Version : I Don't Think I've Done It Right (mod_rewrite)

Joseph Witchard
12-08-2008, 11:10 PM
RewriteRule ^show_news/postID/title/([^/\.]+)/?$ show_news.php?postID=$1&title=$2

I'm trying to rewrite it to where show_news.php?postID=variable&title=variable can be rewritten as show_news.php/postID/variable/title/variable. However, I've still yet to figure out regex:( Could someone point me in the right direction? I'd greatly appreciate it.