Thread: 301 in htaccess
View Single Post
  #3 (permalink)  
Old 01-07-2008, 08:54 AM
inertia's Avatar
inertia inertia is offline
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Apr 2006
Location: Lancaster, UK
Posts: 1,021
inertia RepRank 6inertia RepRank 6inertia RepRank 6inertia RepRank 6inertia RepRank 6inertia RepRank 6inertia RepRank 6
Default Re: 301 in htaccess

Quote:
Originally Posted by Feydakin View Post
You can redirect all of the pages in the sub-directory to your home page or to the store page on the new site which is probably the best place to point it..
To do this, is it this line of code in the htaccess file?

redirect 301 http://www.site1.com/store http://www.site2.com/store

Will this work for any page which appears in this sub directory and lower directories ?
__________________
Latest Blog Post: Google Consultant - Should this Job Title be Allowed? - Matt Inertia's SEO Blog - SEOers.org

"Carpe diem, seize the day boys, make your lives extraordinary"
- Dead Poets Society
Reply With Quote