It's been almost 3 days now and I'm finally there! The following mod_rewrite rules I've got are as following <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule /(.*)$ singlearticle.php?articleid=$1 [L,R] </IfModule> Code (markup): I've got this in the directory /articles/ as the home directory already has a rewrite for another directory which is confusing this rewrite. Everything is rewriting properly except for the fact that when it rewrites it loses the value of articleid. Any ideas why this would happen?
I don't think you need the leading / on the RewriteRule pattern try RewriteRule (.*)$ singlearticle.php?articleid=$1 [L,R] Code (markup): think that should do it John
All thanks to johnt's mod rewrite skills with a little helping hand from Nintendo. Thanks to everyone else who contributed as well.