Forum Moderators: phranque

Message Too Old, No Replies

301 redirect to new domain - only some pages

         

bornfamous

1:23 am on Apr 18, 2010 (gmt 0)

10+ Year Member



I've moved most pages from an old domain to a new one, but I want to keep some pages on the old domain. Is there a way to redirect some pages and not others?

g1smd

8:20 am on Apr 18, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yes. The pattern in the RewriteRule can be set to match certain names and redirect those, and not match other names, and so those are not redirected.

Look for common patterns in the URLs that need to be redirected. It is much easier if it is an entire folder, or several folders, rather than many individual disparate singly-named pages.

bornfamous

8:52 am on Apr 18, 2010 (gmt 0)

10+ Year Member



Thanks. Of course, they're all mixed up in the same folder. It's a WP blog, and there are close to 200 posts. Is there a link to a page with instructions for doing this? I really appreciate your help.