If you have installed Drupal 8 on Windows server and noticed the plain html website without Css/JavaScript, here is a way to fix the issue.
- Go to plain html website. You will still be able to navigate to the website. Look for Administration > Configuration > Performance link.
- Click on this link to open up a page which shows “Bandwidth Optimization” section. Unselect “Aggregate CSS files” and “Aggregate JavaScript files”. Click on “Save Configuration” button.
- At this moment, you would get your site with Css and JavaScript but the main problem is not solved yet. So follow the next steps.
- Go to DRUPAL_ROOT\sites\default\files folder. Create a folder “tmp” here so the final folder structure looks like DRUPAL_ROOT\sites\default\files\tmp.
- Now go back to Administration > Configuration > Development > Performance page
- Click on “Clear all caches” button.
- Now select “Aggregate CSS files” and “Aggregate JavaScript files”. Click on “Save Configuration” button.
- You should have got your Drupal website working with aggregated Css/JavaScript files.
Leave a Reply