URGENT: Sub-sites not working after database restore
-
Hi
We just moved our WP multisite hosting from a typical Plesk shared hosting environment to and AWS Ec2 instance using a Bitnami Stack made for WP Multisite ( https://aws.amazon.com/marketplace/pp/B00NN8XE6S ).
The main website ( bodhicharya.org ) is up and running fine. But our two sub-sites are struggling both in the front and back end:
http://bodhicharya.org/manyroads/
http://bodhicharya.org/teachings/It seems to be an incorrect path issue as (on inspection) the sub sites seem to be calling files like they were stand alone websites. EG:
https://bodhicharya.org/teachings/wp-content/plugins/slickr-flickr/styles/public.css
When the actual path is this:
https://bodhicharya.org/wp-content/plugins/slickr-flickr/styles/public.css
I can’t login to the sub-sites admin areas, only the main site and the network admin.
The Bitnami support thread is here: https://community.bitnami.com/t/sites-down-bitnami-wordpress-multisite-stack-not-loading-main-pages/51316/8
But now they are pretty much claiming its a WP issue and not the hosting. So I’m now turning to wordpress forums and experts to see if I can get this resolved.
Hopefully its just an incorrect htaccess file or wp-config file. We have used multisite for a few years (WordPress MU) and it seems we might need custom htaccesss code as shown here: https://codex.wordpress.org/htaccess. But I tried it and it didn’t work.
Our current htaccess rules are:
RewriteEngine On 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] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?siteN/files/(.+) wp-content/blogs.dir/N/files/$2 [L]
It is strange that the multisite was working fine on the old server and this has only arisen since the move..
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘URGENT: Sub-sites not working after database restore’ is closed to new replies.