Forum Moderators: phranque
Here's what I need to do... I need to rewrite this:
http://www.mysite.com/cms/?m=show&id=3242
into this:
http://www.mysite.com/?m=show&id=3242
Essentially removing the /cms directory from every URL on the site. The show&id=INTEGER is a variable that will change from article to article of course, so it would need to be dynamic. Currently the site is broken and I cannot get it to work to save my life! :( Can anyone assist? Thanks so much in advance...
Adam
RewriteRule ^cms/ / [QSA,L] For a forced external redirect use the flag [R=301,QSA,L]
Robert
[edited by: jdMorgan at 12:01 am (utc) on Jan. 14, 2005]
[edit reason] Fixed code formatting problem [/edit]