WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Redirect one multisite blog to new domain (6 posts)

  1. jesshope
    Member
    Posted 1 year ago #

    Hi! I'm new to WP Multisite and have received a request to redirect one of the blogs (ie. blogs.domain.com/someblog) to a new domain (ie., newdomain.com). Could some kind soul point me in the right direction for how to do this? Thanks in advance!

  2. John
    Member
    Posted 1 year ago #

  3. jesshope
    Member
    Posted 1 year ago #

    Thank you, John... I will check out that plugin.

  4. jesshope
    Member
    Posted 1 year ago #

    Thanks for the help. I was able to use that to redirect the home page of the blog in question. How would I redirect all the posts within that blog?

  5. John
    Member
    Posted 1 year ago #

    You can actually get pretty fancy and redirect individual posts from their old URL to the new one, you can do this in groups, etc... Look at the documentation for the plugin here. You _may_ need to brush up on regular expressions if you want to get fancy, or you can just wildcard everything and say "no matter what URL you WERE trying to get to, you are going to this one".

    If you have questions about how a plugin operates you'll have better luck contacting the developer directly.

  6. jesshope
    Member
    Posted 1 year ago #

    Thanks. For others looking to do this, what ultimately worked was using the wildcard regular expression:

    /someblog/(.*) and check the "Regular expression" checkbox and enter the Target URL.

    Thanks for having pity on a newbie, John!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags