Forums

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

  1. blackbeardesign
    Member
    Posted 8 months 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. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    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. blackbeardesign
    Member
    Posted 8 months 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. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

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

  5. blackbeardesign
    Member
    Posted 8 months 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. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    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. blackbeardesign
    Member
    Posted 8 months ago #

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

  8. Ipstenu
    Half-Elf Support Rogue & Mod
    Posted 8 months ago #

    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. blackbeardesign
    Member
    Posted 8 months ago #

    Awesome, thanks a million. Worked beautifully!

Reply

You must log in to post.

About this Topic