Permalinks not working – 404 errors multisite
-
I’m currently facing a wordpress multisite / permalink / rewrite rule problem. My wordpress website use multi-site. I’ve got the 2014 website link to “exemple.fr” and the second website for 2015 to “exemple.fr/2015/”. As you might guess, I’m using subfolders configuration for multisite.
The problem occur on the second website (2015) which return 404 errors on every page except the home. The first one work as excepted. What I have already try:
– mod_rewrite is enable
– my vhost file have the instruction AllowOverride All
– Here’s my .htaccess file which is the default wordpress one for multisite with subdirectories:# BEGIN WordPress 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] # END WordPress
– The problem dissapear if i set permalinks to “default” on the 2015 website but my links are not like I want.
Any suggestions ?
- The topic ‘Permalinks not working – 404 errors multisite’ is closed to new replies.