I converted an existing Wordpress/Bedrock to multisite. Everything is working locally. But on the live server every admin link without /wp doesn’t work, except /wp-admin/
For example /wp-admin/media-new.php is working locally but not found on the live server.
Here’s my htaccess:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) wp/$1 [L]
RewriteRule ^(.*\.php)$ wp/$1 [L]
RewriteRule . index.php [L]
# END WordPress
I’m having a very similar issue that I can’t resolve.
I began building a single site install a few months ago locally and later determined it would need to be a multi-site.
Converted to a multi-site locally and everything functions perfectly.
Spun up a new DO droplet and deployed successfully to staging.
Run WP Migrate DB Pro and then the staging server admin is all broken.
After successful DB migration, I get the following when attempting to access the admin:
.com/wp/wp/wp-login.php?redirect_to=https
If I make this adjustment:
.com/wp/wp-login.php?redirect_to=https
I get this for a login screen:
If I login from that screen, I get ‘page not found’ with this url:
/wp/wp/wp-login.php
The only way I can think of fixing this is by starting over. It seems that something is messed up after re-provisioning as a multi-site locally and the paths on the staging server. I have a good amount of data already setup here locally so I don’t really want to have to start over.