Style sheet not applied after moving a Drupal website

After moving to another server, or in my case to my localhost (for testing purposes), the Drupal style sheet doesn’t get applied correctly:



I always change the $base_url and $cookie_domain variables in the settings.php file after a server move. To respectively http://localhost and localhost.


Lacking the subdirectory in the $base_url variable is the cause of my issue. Changing the variable solved the problem:

$base_url = ‘http://localhost/directoryNameWhereYourDrupalSiteIsStored;

Also shown in the following screenshot:


Leave a Reply