Logging into my multisite (base site or any) takes me to 404
-
I have a WordPress multisite that has a base here: https://thewlstorage.com/
I have two subsites (not subdomain) as well.When I login to the admin at the site, both online and on my local installing (using the Local app), the login just takes me to a https://thewlstorage.com/404/ (or https://local-site.local/404)
The two subsites seems to be logging in fine live, though locally, NONE of my sites, when I login (on Chrome) work, they all go to 404. On Safari, I am able to access my dashboard (locally and live).
Here is my HTACCESS for local and live (using Apache)
# BEGIN WordPress # The directives (lines) between "BEGIN WordPress" and "END WordPress" are # dynamically generated, and should only be modified via WordPress filters. # Any changes to the directives between these markers will be overwritten. <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ^index\.php$ - [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] RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] </IfModule> # END WordPress
and my WP Config
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_DISPLAY', false ); define( 'WP_DEBUG_LOG', false ); define( 'SCRIPT_DEBUG', true ); define( 'WP_ALLOW_MULTISITE', true ); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'white-label-storage-b2c.local' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 ); define( 'WP_ENVIRONMENT_TYPE', 'local' ); /* domain mapping */ define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] ); /* That's all, stop editing! Happy publishing. */ /** Absolute path to the WordPress directory. */ if ( ! defined( 'ABSPATH' ) ) { define( 'ABSPATH', __DIR__ . '/' ); } /** Sets up WordPress vars and included files. */ require_once ABSPATH . 'wp-settings.php';
It was working fine for weeks. I’ve changed nothing, touched nothing affecting site settings. Locally, I have my site URL for my subsites set to the local URL, live I have it set to the Live dot.coms for the subsites. It’s worked fine till just now.
Any ideas?
The page I need help with: [log in to see the link]
- The topic ‘Logging into my multisite (base site or any) takes me to 404’ is closed to new replies.