- Code: Select all
RewriteEngine on
RewriteRule index/xps/(.*)/pid/(.*)/ index.php?xps=$1&pid=$2
RewriteRule index/xps/(.*)/pid/(.*) index.php?xps=$1&pid=$2
which does work it redirects me from "index/xps/pview/pid/98/" to "index.php?xps=pview&pid=98" but I thought (I might be wrong) the whole point of rewrite was that "index.php?xps=pview&pid=98" stayed hidden but for me it still appears in the URL bar.
Any ideas, I hope I have explained it well this is my first day using url rewrite! I might just be being stupid but just would like to clear this up
Andrew