• Hello,

    I am in the process of archiving my over 10 year old wordpress site by sending the site to a subdomain. I want to redirect almost all of the old pages, posts, tags and categories with a 301 redirect. However, I also want to continue to use the root domain as a blog on the same subject. Is this possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Pretty much no.

    What I’d do is customize the 404 page for the new site to add soemthing like “If you can’t find it here, check my blog archive at <link>”.

    The issue is what happens if you have example.com/hello-world and archive.example.com/hello-world? One can’t redirect when the slugs are the same.

    Thread Starter rockavelii

    (@rockavelii)

    I was worried that would be the answer. I have a solution to the identical url structure…

    I was thinking about using a different permalink structure for the new site. Changing category to topic, tag to something else and using dates in the post permalink structure. Pages might still be an issue but I don’t have a lot of them.

    The issue is creating a 301 redirect that recognizes the url structure differences and making select exemptions. Is that something that can be done?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    If you’re clever, yes. 🙂

    I’m very bad at regular expressions. You could google something like “htaccess 301 regex” to see if you can find some good examples.

    Thread Starter rockavelii

    (@rockavelii)

    Thanks Steven!

    • This reply was modified 7 years, 4 months ago by rockavelii.
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Site Movement Complications’ is closed to new replies.