$base_url variable in settings.php is not being read. How do i set this variable? On my laptop I recently moved my Drupal sites from Acquia Dev Desktop server to a standard MAMP setup. Problem is the root dir folder isn't being read. The root dir folder name would be, by default part of the base url. For example, the mission page URL should be  http://localhost:8888/mywebsite/mission. But instead it's trying to load as http://localhost:8888/mission.

Since using Drupal I haven't had to once set a base url variable. In the settings.php file I found a variable for this which I uncommented and set. On line 282 in the settings file it now reads as like so:

$base_url = 'http://localhost:8888/mywebsite'; 


but this is having no effect whatsoever. 

How or where can this be set? Or is there something I should do within the MAMP set up?
Use a virtual host in your webserver configuration with the DocumentRoot to your drupal installation:

&lt;VirtualHost *:8888&gt;
   DocumentRoot "/var/www/website"