domain.com/wp-admin/network/ is correct. It’s a physical server folder which has an index.php file, so WP isn’t actually involved until index.php is accessed and executed. In other words the redirects and lack of domain indicates a configuration issue of some sort.
Are you able to successfully load domain.com/wp-admin/network/setup.php? It’ll tell you what the proper wp-config.php and .htaccess configurations are for your site.
Example .htaccess code is here, but it’s better to use your site’s setup recommendation if you can access it. Examine the .htaccess file for any other directives that might be interfering with correct operation.
I’m unable to find a good example of added wp-config.php code, other than this screen grab. You need all entries shown, but the defined values of course will be different and specific for your site. I suspect DOMAIN_CURRENT_SITE is not correctly defined in your wp-config.php. PATH_CURRENT_SITE is typically defined as '' for domain root installations, unlike the screen grab example.
Hi bcworkz,
I have the following in my wp-config.php :-
define(‘DOMAIN_CURRENT_SITE’, ”);
define(‘PATH_CURRENT_SITE’, ”);
The above has been there from the beginning of the WordPress multisite install, so I don’t know why I’m getting the 404 url error.
Now, setting the following values fixed the 404 url error I reported:
define(‘DOMAIN_CURRENT_SITE’, ‘mydomain.com/’);
define(‘PATH_CURRENT_SITE’, ”);
However, when I access https://mydomain.com/wp-admin/network/ I get another error:
mydomain.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
I’m googling to fix this other issue, will update.
Thank you so much for helping!!
-
This reply was modified 3 years, 10 months ago by
alvaromar.
I may have “mis-spoke”, try define('PATH_CURRENT_SITE', '/');
Hi again bcworkz,
Following your advice I set this:
define(‘DOMAIN_CURRENT_SITE’, ‘mydomain.com’);
define(‘PATH_CURRENT_SITE’, ‘/’);
And ir works!! 🙂
Thanks a lot!!!