Hi, I'm trying to redirect a php search string to a url that doesn't use &'s and ?'s. For instance, i want
/backgrounds/nokia/day/1/2/category.html to be redirected to
/backgrounds/category.php?phone=nokia&order=day&id=1&page=2
my rewrite rule is:
RewriteRule ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/category.html$ /$1/category.php?phone=$2\&order=$3\&id=$4\&page=$5 [PT]
I can't seem to get this to work. Thanks.
/backgrounds/nokia/day/1/2/category.html to be redirected to
/backgrounds/category.php?phone=nokia&order=day&id=1&page=2
my rewrite rule is:
RewriteRule ^/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/category.html$ /$1/category.php?phone=$2\&order=$3\&id=$4\&page=$5 [PT]
I can't seem to get this to work. Thanks.