mamp pro virtual hosts with wordpress

have you already installed the WordPress database? if so, the rewrite rule is probably pulling from the WP_HOME, and WP_SITEURL settings.. you can override them in the wp-config.php using something like define(‘WP_HOME’,’http://’. $_SERVER[‘SERVER_NAME’]); define(‘WP_SITEURL’,’http://’. $_SERVER[‘SERVER_NAME’]); Also, check the actual redirect using curl $bash> curl -I http://hostname see if it’s actually doing a redirect, or if … Read more