View Full Version : 301 redirect

07-21-2008, 06:47 AM
I have a client and we are re doing their website which has many products that they sell online. The current site has been done in asp and our programmers use php. Currently their site ranks with certain products/pages on google etc and i wanted to set up 301 redirects to point any of these pages to go to the new site.

Can i do a mass redirect for any pages that will contain .asp to be redirected to the new sites addresses?


07-21-2008, 11:41 AM
You can. With modrewrite you can redirect any URL that ends in .asp to the exact same URL in .php

You can also use apache to tell it to parse all .asp pages as .php, so you can keep the same URLs and have them be php.

Hows that work for you?

07-21-2008, 12:26 PM
thanks chris.

can i just redirect for example all *.asp pages to go to www.yourdomain.com


07-21-2008, 02:01 PM
Yes, you can do that too.