Error 403 / Access to dashboards of new sites / Multisite in XAMPP localhost
-
Hi,
I had error 403 when I tried to access to dashboards of new sites in WordPress 4.4.2 multisite installed in XAMPP v3.2.2 localhost (Apache/2.4.18 OpenSSL/1.0.2e PHP/7.0.4). And the new site is displayed without an assigned theme.
After verifying that in PHP info of my localhost I have the mod_rewrite in Loaded Modules and to enabled the AllowOverride All directive in the DocumentRoot (changing None for All in httpd.conf of Apache), errors are not solved.
However, I have found that removing the path C:/xampp/htdocs/wordpress/ in code fragment below show (WordPress generates this code for .htaccess) I solve the problem, or at least partially solved:
... RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) C:/xampp/htdocs/wordpress/$2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ C:/xampp/htdocs/wordpress/$2 [L] RewriteRule . index.php [L]
So, I manage to solve two errors: I can access to dashboard of the new site and display an assigned theme. However, I wonder if the changes made may adversely affect other “parts”.
I would like to have your ideas or suggestions about this topic.
Thanks
- The topic ‘Error 403 / Access to dashboards of new sites / Multisite in XAMPP localhost’ is closed to new replies.