WordPress CSS Failing to load on ALL of my droplets as of this morning!

Posted June 27, 2021 56 views

As of this morning, all of my droplets using WordPress are not loading the CSS on the admin side of the site. I’m baffled. I just made a new droplet, chose the 1-click, went through the options, used a domain I had on hand (one that DNS doesn’t have to propagate through - it’s been assigned to the DO namespace servers forever), and it happened there, too: to the brand new droplet.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @noelwritescode,

This seems like a problem with the website rather than the Droplet itself. Maybe you are missing the Default WordPress settings if you are using Apache that is.

In you are using Apache, you can see if the following is added to your .htaccess:

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Now, this is if you are using Apache. If you are using Nginx, there are a bit more configurations needed as Nginx is not using .htaccess files. Luckily, WordPress have a pretty good tutorial on the Nginx stuff:

Having said that, I believe the 1 click droplet is using Apache so you should be able to just add the above to your .htaccess file if it’s not present already.