sabret00the
01-22-2007, 11:49 AM
can anyone tell me why this isn't working? it's stored within the confessions directory.
RewriteEngine on
RewriteRule ^(.*)/$ index.php?confessionid=$1
RewriteRule ^(.*)/keyword/$ index.php?view=random&keyword=$1
RewriteRule ^(.*)/view=(.*)$ index.php?view=$1
with that i should be able to have these three working
www.site.com/confessions/580
www.site.com/confessions/view=random
www.site.com/confessions/view=votes
www.site.com/confessions/keyword/acid
and yet none of them seem to be working. if i add a backslash after each one i don't get a 404 but for some reason the php isn't picking up the $_GET's or something.
RewriteEngine on
RewriteRule ^(.*)/$ index.php?confessionid=$1
RewriteRule ^(.*)/keyword/$ index.php?view=random&keyword=$1
RewriteRule ^(.*)/view=(.*)$ index.php?view=$1
with that i should be able to have these three working
www.site.com/confessions/580
www.site.com/confessions/view=random
www.site.com/confessions/view=votes
www.site.com/confessions/keyword/acid
and yet none of them seem to be working. if i add a backslash after each one i don't get a 404 but for some reason the php isn't picking up the $_GET's or something.