Multi-site 404 redirect in wp-admin non-index php files
-
Hello,
I’ve been literally on this for over 8+ hours now trying to fix it, here is my problem.
I manage a WordPresss website on a VPS (cPanel) which is setup as a multi-site, it has 4 different multi-sites.
They all work on the front-end and always have but suddenly over night, without any clear cause, the dashboards of the multi-site (not the parent site) started having issues.
All WordPress .php files in a child website, for example: https://www.website.com/child/wp-admin/options-general.php will return a 404 error even though I am logged in in a superadmin account.
The same thing applies to all /child/wp-admin/*.php files and for ALL children on de network.
Stuff that I tried
- Disabling all plugins and resetting all themes of subsite to default theme
- Recovering an old database from where it was known to work
- Manually adding a .php and .html file to the wp-admin folder to see if they exist from the child path, the .html file works, php doesn’t.
- Multiple PHP versions, 7.1, 7.2 and 7.0 and 5.6
- Recovering old files from where it was know to work.
- Disabling / updating nginx, cPanel, restarting the server
- Nothing seem to have done a dent, there are no major php errors only the usual notices
https://www.mydoo.nl/dierenbranche/wp-admin/test.html
https://www.mydoo.nl/dierenbranche/wp-admin/test.phpI’ve tried disabling NGIX, switched to other PHP versions (default is 7.1, tried 7.2 and 5.6, no difference), I tried multiple variations of my .htaccess files and tried updating to the newest WordPress, right now it’s 4.7.2,
I hope someone can help me possibly point into the right direction on this!
The page I need help with: [log in to see the link]
- The topic ‘Multi-site 404 redirect in wp-admin non-index php files’ is closed to new replies.