HTAccess? Anyone...
- Started
- Last post
- 6 Responses
- sublocked0
Google "mod_redirect" ...depending on how you want the pages redirected you might need to use a regular expression to do it.
If you give a more concrete example of [old page] --> [new page] mapping I could probably help more.
- sublocked0
Also, having done this previously with a couple domains you'll want to edit some things in "google webmaster tools" to maintain rank. Specifically, you'll probably want to re-trigger a new crawl once you put the redirects in place.
- vaxorcist0
need more info... do you want to use 301's to redirect from:
www.website1.com/path-to-post -> www.website2.com/path-to-post
or
- nocomply0
I think what sublocked said is on the mark.
But that being said, I suck so bad at RegEx that I built a WordPress plugin to assist me with my own work-around solution which doesn't involve RegEx (which I always seems to screw up).
My plugin will automatically generate a list of all URLs within a WP install. You can then copy and paste that list as a starting point for a series of .htaccess 301 redirects.
http://wordpress.org/plugins/lis…
This is totally silly on a 50K+ post site, but for the sites that I work on which generally have less than 100 posts it does the trick in combination with some global find/replace in my code editing IDE.
- sem0
Thank you so much for the replies guys.
I found this handy plugin then on the support forum someone already asked how to do it so I just copied & paste from there.Thank you though :)