...

View Full Version : How do I 301 redirect all pages in a folder?



thegreatpursuit
12-21-2010, 04:01 AM
I want to redirect

mysite.com/main/?p=1
mysite.com/main/?p=2
mysite.com/main/?p=3
mysite.com/main/?p=4
mysite.com/main/?p=5
etc etc

to

mysite.com

How can I do this with an htaccess file without having to manually redirect all of them?

Thanks,

Brandon



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum