Multisite and pages not found
-
Hiya π I consider myself a novice in the WordPress scene, so please bear with me if I say something idiotic.
Recently we’ve decided to upgrade our website. It’s been up and running using WordPress for years now (www.mobicoach.eu). Now, we’ve set up WordPress multisite so we can use it for an already existing subdomain (wp.mobicoach.eu). When everything seemed to work fine we’ve set up a staging site on the subdomain.
Sadly it turns out all pages will not work on the subdomain (wp.mobicoach.eu/distributievervoer). The homepage works fine but every other page results in a 404 error, page not found. Our primary site keeps working fine, luckily.
The pages do exist within WordPress. Actually as far as I can see everything should work. The pages themselves, their permalinks, the menu structure, within WordPress it all seems fine. Yet when I try to preview or publish one of these pages from WordPress, I get the same 404 error.
I’ve been searching for a solution for days now, to no avail. Similar problems got resolved using Settings > Permalinks > Save Changes or by modifying .htaccess files. Unfortunately, nothing has worked for us so far.
On top of this problem, all new subdomains made using WordPress multisite result in errors. So it leaves me thinking our Apache server isn’t allowing WordPress to make changes in urls. Yet mod_rewrite is activated and should work.
What am I missing here? Maybe it’s our .htaccess after all?
# 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).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress
The topic ‘Multisite and pages not found’ is closed to new replies.