Link to home
Start Free TrialLog in
Avatar of nplescher
nplescher

asked on

Mod_Rewrite Subdirectory to Root 301 Redirect

Hello--
I would like to redirect all entries formatted like this:

mysite.com/blog/?p=980

to

mysite.com/?p=980

I am moving the CMS to the root of the site instead of a sub folder and I need to redirect all traffic that is still going to the old folder to the PROPER new location (so maintain the query string.... i.e, ?p=2848 but without the folder in there).


Thanks!
ASKER CERTIFIED SOLUTION
Avatar of mwiercin
mwiercin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial