Multisite local install with XAMPP – Subdomains
-
I successfully configured my local installation of WordPress 3.5 using XAMPP. I set up virtual hosts in Apache so I could reach my development site under
wordpress.dev
.Now after enabling WordPress Multisite I’m getting the following error:
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think this is a server error, please contact the webmaster. Error 500
As per the Network setup instructions added the following code to my wp-config file:
define('WP_ALLOW_MULTISITE', true); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'wordpress.dev'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
And I added this code to my .htaccess file:
RewriteEngine On RewriteBase / options +FollowSymLinks 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).*) C:\Program Files (x86)\xampp\htdocs\wordpress3.5/$1 [L] RewriteRule ^(.*\.php)$ C:\Program Files (x86)\xampp\htdocs\wordpress3.5/$1 [L] RewriteRule . index.php [L]
After browsing the interwebs I tried to enable mod_rewrite in Apache as per the instructions here: https://www.leonardaustin.com/technical/enable-mod_rewrite-in-xampp
This didn’t work…
I appreciate any help you could offer on this.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Multisite local install with XAMPP – Subdomains’ is closed to new replies.