WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress Multisite sub sites all redirect to the main site (9 posts)

  1. Joel Black
    Member
    Posted 2 years ago #

    I had a multi site setup running smoothly. I then had to change the domain name, which went relatively smoothly.

    The main site is back up and running thecouponcutie.com, but all of the sub sites direct back to the main domain now.

    I set up the wildcard domain in plesk, just like the other domain I had set up and working. I can't figure out why it all of a sudden started redirecting to the main site on this new setup?

    Any help would be appreciated.

    sub sites:
    atlanta.thecouponcutie.com
    dfw.thecouponcutie.com
    chattanooga.thecouponcutie.com

  2. The main site is back up and running thecouponcutie.com, but all of the sub sites direct back to the main domain now.

    The new main domain?

    Do you have no-blog-redirect set up in your wp-config file?

  3. Joel Black
    Member
    Posted 2 years ago #

    Yes, all the sub sites automatically redirect to the new domain thecouponcutie.com. They still show in the database and they still show in admin, but if you try and go to any of them, it redirects you to thecouponcutie.com

    "no blog redirect" is not set up in wp-config

  4. Something's wrong in plesk's subdomain setup then, but I don't know it well enough.

  5. Joel Black
    Member
    Posted 2 years ago #

    You were right. Although I had everything set up, there was 1 rogue drop down box in Plesk under Tools > Ip Addresses where you have to assign the default ip address to the new domain. I guess it was still assigned to the old domain, so when a sub domain came in, it rerouted to the default 'old' domain which was forwarded to the new domain and the homepage.

    All sites are back up except for 1. And it just defaults to a white screen with no code. Possibly a plugin gone wrong? Is there a way to deactivate all plugins for a sub site?

    atlanta.thecouponcutie.com

  6. And it just defaults to a white screen with no code.

    Yeah, that's usually a theme/plugin issue causing a PHP error. White Page = PHP barf :/

    Can you get into atlanta.thecouponcutie.com/wp-admin?

  7. Joel Black
    Member
    Posted 2 years ago #

    Yes, the wp-admin for that sub site is the white screen as well.

  8. Use phpMyAdmin then.

    MAKE A BACKUP before you do this!

    In the table wp_X_options (where X is that site's ID number), under the option_name column (field) find the active_plugins row.

    Change the option_value field to: a:0:{}

  9. Joel Black
    Member
    Posted 2 years ago #

    Awesome, thanks a million. Worked beautifully!

Topic Closed

This topic has been closed to new replies.

About this Topic