Report this

What is the reason for this report?

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

Posted on June 27, 2021

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.

https://imgur.com/k68qzHL



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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:

https://wordpress.org/support/article/nginx/

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.