• I think I may have broken something in my hacking around.

    I have a multisite setup, no sub-domains. I can log into admin and see all my sites. I log directly into the main site.

    If I try to go to Network Admin via the drop-down menu items “My Sites”, then I see links “http//mydomain.com/wp-admin/network”

    As you can see the “:” is missing after “http”

    If I try going there by entering the full path into my browser “https://mydomain.com/wp-admin/network” then I end up with an “ERR_NAME_NOT_RESOLVED” – The server at http can’t be found, because the DNS lookup failed

    So I suspect my .htaccess, but its stock standard.

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    (I have tried $1 and $2 variants)

    wp_config is also as per standard advice.

    I have also looked through my database and all the siteurl’s look ok in the various fields for the main wp_options and the wp_#_options as well as wp_site, so I’m stumped.

    Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi umngane,

    I’m guessing you have something wrong in your DB. There are a couple of tools you can use the search your database. I’d try looking for http//mydomian and see what you turn up. The tools:
    wp-cli is a command line tool you will want to use search-repalce –dry-run https://wp-cli.org/.
    There is also a stand alone tool that you can run separate from your WordPress install I think it is called “search and replace”.
    Finally looks like there are some plugins that also have this capability.

    Hope this helps.
    Good luck to you.

    –AJ

    Did you manage to solve this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Network Admin links broken’ is closed to new replies.