Friday 5 January 2018

WAMP: Missing http://localhost/ in urls , wrong WAMP projects url

1. Open wamp/www/index.php in Change

$suppress_localhost = ($wampConf['urlAddLocalhost'] == 'off' ? true : false);
To
$suppress_localhost = ($wampConf['urlAddLocalhost'] == 'on' ? true : false);

OR

2. From Wamp

  1. Right click on wamp icon on tray on the right.

  2. Go to "wamp settings"

  3. Enable "Add localhost in URL"