• Resolved Nikki Blight

    (@kionae)


    For some reason, my wp-admin/network/ url is redirecting to the front page of one of the sites in my network. This happens even when logged out of the site (which I find extremely bizarre, since it should take you to the login page). Going to wp-admin/network/index.php works just fine, though.

    I’ve found *similar* posts to the issue I’m experiencing, but nothing quite the same.

    So far, all I’ve been able to determine is what it’s not:

    It’s not an .htaccess issue… I removed the .htaccess file, and the redirect still occurred.

    It doesn’t *seem* to be a plugin issue, as least in so far as I haven’t been able to get it to work normally by deactivating the plugins in my network (including the WordPress MU Domain Mapping plugin).

    I don’t believe it’s a server configuration issue, either, since prior to updating to 3.9, everything was working normally. Any advice for tracking this down would be greatly appreciated.

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

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Only one site? The main site or a subsite?

    Thread Starter Nikki Blight

    (@kionae)

    Yes, only one site. Always the same one. It’s a subsite.

    No idea why it’s that particular site, either. It’s not the first in the list either alphabetically by title, or numerically by site id.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Have you tried the usual debugging?

    • flushing any caching plugins you might be running, as well as server and/or browser caches?
    • deactivating all plugins on that site?
    • switching to the Twenty Fourteen theme to rule out any theme-specific problems?
    Thread Starter Nikki Blight

    (@kionae)

    No caching plugin is installed, and yes, I’ve flushed all other caches repeatedly.

    I’ve tried deactivating plugins and switching to the default theme. Still no joy.

    At this point, I’m at a loss.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    What about network Plugins?

    Thread Starter Nikki Blight

    (@kionae)

    The only plugins that are network activated are iThemes Security and WordPress MU Domain Mapping. I’ve deactivated both, and had no change.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    There are a handful of people having this issue…

    Okay. How did you make the subdomains on the server?

    Thread Starter Nikki Blight

    (@kionae)

    Apache virtualhost. Create the conf file in /etc/apache2/sites-available, and use a2ensite to activate it.

    They’re all top-level domains, not subdomains. They’d previously been pointed at stand-alone WP installs on the same server. All I really did was change their conf files to point to the multisite’s directory instead of their stand-alone directory.

    It all seems to work fine except for this wp-admin/network url issue.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    They’re all top-level domains, not subdomains.

    Okay, now this begs a different question πŸ˜€

    Subfolders or subdomains originally?

    Thread Starter Nikki Blight

    (@kionae)

    The way was set up, each domain (none of them were ever subdomains) had a directory under /var/www, and the virtualhost conf file for each domain pointed to that domain’s directory.

    Now, instead of pointing to 4 individual directories with each site’s WordPress install, the conf files all point to the directory for the multisite install and WordPress MU Domain Mapping handles the rest.

    Thread Starter Nikki Blight

    (@kionae)

    I think I may have finally tracked it down. When I created the virtualhost .conf file for the main site of the multisite install, I just copied and edited an existing file. That particular file did not have the line “DirectoryIndex index.php” like the other .conf files on the server do. I added the line and it suddenly works again:

    <VirtualHost *:80>
    DocumentRoot /var/www/multisite
    ServerName XXXXXXXXXXX.com
    DirectoryIndex index.php
    <Directory /var/www/multisite>
    allow from all
    Options +Indexes
    </Directory>
    </VirtualHost>
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    The way was set up, each domain (none of them were ever subdomains) had a directory under /var/www, and the virtualhost conf file for each domain pointed to that domain’s directory.

    For the record that’s not what I meant when I asked I asked ‘Subdomains or Subfolders’ — Remember back when you installed Multisite, you had two options. Subdomains OR subfolders. You will eventually map the domains on top of that, but you have to pick one for WP, and THAT is what I was asking πŸ™‚ Keep that answer in the back of your head, it does impact things later on.

    Glad you got the vhosts fixed!

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Strange redirect issue with wp-admin/network url’ is closed to new replies.