• Hi everybody,

    Background story:
    I took over administrating and “developing” an existing WordPress installation. The installation is a multi site installation with all sites offline/not reachable except of one. The site which is online is running on a custom coded theme and an old WordPress version and generally has not been updated since about 3 years. The installation is at least at parts customized/non-standard. Now I want to use the multi site installation to copy the running website and use it as “staging”,apply updates there and see if new updates break the site and investigate problems there. I never worked with WP multi site installations before. The problem: the Network Admin area is not reachable due to a redirect error.

    When I click Network Admin > Dashboard then I get the following error:

    The page isn’t redirecting properly
    An error occurred during a connection to mysite.de.
    This problem can sometimes be caused by disabling or refusing to accept cookies.

    The site which is online has the following url structure ‘https://de.mysite.de/*’ while after clicking on link Network Admin > Dashboard a tab with this url structure wants to load ”https://mysite.de/*’. The subdomain is missing.

    So, I guess I need to change redirect settings somewhere. But I don’t know where to start investigating the error. Are these settings set somewhere in the hosting environment or somewhere in the php scripts of the wordpress installation?

    Please provide your thoughts, hints and guides on this issue.

    best regards, Peter

Viewing 1 replies (of 1 total)
  • Perhaps you have found help elsewhere in the meantime? Please clarify: Are you working on a live site or are you staging the network on your localhost?

    Are you able to log into the Network Admin on the live site? If not, this could be a conflict with a new version of PHP running on the server where the site is hosted. Since the WP installation hasn’t been updated for about 3 years, that version is not compatible with PHP 7. I recently ran into this with some of my websites. Check with the web hosting service and ask if it’s possible to downgrade to PHP 5.4 temporarily to enable you to log into WP admin.

    The next step, if you haven’t already done it, is to take a backup of the database with phpMyAdmin and then backup the public_html directories and files using ftp.

    When setting up your local WP Multisite network, did you create a virtual host? I recently ran into the problem you have. After enabling Multisite network, WP was unable to connect to the database, whereas WP without the network enabled was able to connect. WP doesn’t like local installations using the address localhost/siteurl. The answer is to create a virtual host. Make sure that you replace the URL in the database with the virtual host siteurl. Then enable Multisite in wp-config.php, log in, go to Tools > Network and copy-paste the blocks of code into wp-config.php and .htaccess and you should be good to go.

    Hope this is helpful.

Viewing 1 replies (of 1 total)

The topic ‘Network Admin not reachable – Redirect Error’ is closed to new replies.