ColoredCow / wordpress-init

Boilerplate code for a new WordPress Site
GNU General Public License v3.0
6 stars 5 forks source link

Readme content for creating a Virtual Host. #2

Open rathorevaibhav opened 6 years ago

rathorevaibhav commented 6 years ago

Replace the following lines from wp-config-sample.php

if (WP_ENVIRONMENT == 'Production') {
    define('WP_ROOT', '');
} elseif (WP_ENVIRONMENT == 'Development') {
    define('WP_ROOT', '/put_your_project_name_here/public');
}

Replace the above content by

define('WP_ROOT', '');

Making vhost should be a mandate.