Support » Networking WordPress » WordPress Multisite sub sites all redirect to the main site

  • Resolved Joel Black

    (@blackbeardesign)


    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    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?

    Joel Black

    (@blackbeardesign)

    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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

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

    Joel Black

    (@blackbeardesign)

    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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    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?

    Joel Black

    (@blackbeardesign)

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

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    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:{}

    Joel Black

    (@blackbeardesign)

    Awesome, thanks a million. Worked beautifully!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘WordPress Multisite sub sites all redirect to the main site’ is closed to new replies.