Mod_rewrite question [friendly urls]
Posted: Sat Jun 04, 2005 10:46 am
I want to convert
http://www.acdrifter.com/Review/Azumi 2/
to
http://www.acdrifter.com/?page=Review&movie=Azumi 2
I am currently using
RewriteRule ^Review/([^/]*) /?page=Review&movie=$1 [R]
however, this causes a problem -
It redirects the url to the new page, instead of leaving the url in the address bar. If I take out the [R] though, then the basepath is wrong. How do i fix this problem?
http://www.acdrifter.com/Review/Azumi 2/
to
http://www.acdrifter.com/?page=Review&movie=Azumi 2
I am currently using
RewriteRule ^Review/([^/]*) /?page=Review&movie=$1 [R]
however, this causes a problem -
It redirects the url to the new page, instead of leaving the url in the address bar. If I take out the [R] though, then the basepath is wrong. How do i fix this problem?