How to solve WAMP localhost 500 internal error
-
Hi I am trying to setup multisite on a local pc. Using Andrea Rennick’s great ebook I setup multisite on my pc:
– changed Permalink to pretty to activate .htaccess
– added define(‘WP_ALLOW_MULTISITE’, true); to my wp-config
-created blog.dir in wp-content
-added the following to wp-configdefine( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', false ); $base = '/wp/'; define( 'DOMAIN_CURRENT_SITE', 'localhost' ); define( 'PATH_CURRENT_SITE', '/wp/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
Then replaced .htaccess rules with:
# BEGIN WordPress RewriteEngine On RewriteBase /wp/ RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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).*) $1 [L] RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress
Now when I click on Login, I get Internal Server Error
The server encountered an “500 internal error or misconfiguration and was unable to complete your request.”
What else should I do to make it work? Please note I’m running wamp on local pc using subdirectory option
thank you in advance
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘How to solve WAMP localhost 500 internal error’ is closed to new replies.