View Single Post
Old 11-19-2011, 05:27 PM  
Mutt
Too lazy to set a custom title
 
Mutt's Avatar
 
Industry Role:
Join Date: Sep 2002
Posts: 34,431
Quote:
Originally Posted by Tempest View Post
Code:
RedirectMatch permanent ^/?galleries/(.+) http://www.domain.com/newgalleries/$1

OR something like this

RedirectMatch permanent ^/?galleries/gal01.html http://www.domain.com/newgalleries/gal01/
RedirectMatch permanent ^/?galleries/gal02.html http://www.domain.com/newgalleries/gal02/



Eh? That's not what you asked for.. So are the pages still going to exist or are they gone for good? If you just want to redirect to the main page, I'd just do it as a 404. Maybe you could do a redirect to pass on any link juice that were going to the galleries, might be worth it.. On the other hand you might also transfer the anchor text which might not be good for the main page.. Once the SEs figure out that those pages no longer exist, they might just discount all those links anyway. IMO it would be better to just 404 them if you're just wanting to get rid of them.
they will be gone for good on the www.domain.com - what i was thinking is could i change my DNS so that what's on www.domain.com now appears on old.domain.com and i install my new CMS on www.domain.com - redirect all the old galleries with 301 to old.domain.com ?
__________________
I moved my sites to Vacares Hosting. I've saved money, my hair is thicker, lost some weight too! Thanks Sly!
Mutt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote