.htaccess tweeking broke multisite
-
Hi,
TWo weeks ago a support agent of my hosting company helped me with two things:
– updating PHP to 7.x
– and installing SSL
Shortly afterwards I noticed that my multisite still shows the start page and the admin section, but all the subsites give a 404. I have reasons to believe it’s the .htaccessAddHandler application/x-httpd-ea-php74 .php .php5 .phtml RewriteOptions inherit RewriteEngine on #Header set content-Security-Policy: upgrade-insecure-requests # BEGIN WordPress <IfModule mod_rewrite.c> 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] </IfModule> # END WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] </IfModule>Do you see anything in particular that can cause the problem? If no solution cab be found, I have to rebuild the whole thing.
Kind regards
Hans
HansThe page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘.htaccess tweeking broke multisite’ is closed to new replies.