WordPress Admin Area Loads Without Styling – Quick Fix

Server & Cloud Beginner 👁 15 views 📅 Jun 26, 2026

Your WordPress admin looks like plain text? I'll show you the fast fix for missing CSS and JS. This usually happens after a move or plugin conflict.

I know this error is infuriating

You log into your WordPress admin and it looks like it's from 1995 – just plain text, no colors, no layout. The buttons don't work. You can't edit anything. I've been there, and it's usually a simple fix.

The quick fix: check your site URL

This tripped me up the first time too. The admin area loads its styles and scripts from your site URL. If that URL is wrong, everything breaks.

  1. Go to your WordPress files on the server (use FTP or cPanel file manager).
  2. Open wp-config.php in a text editor.
  3. Add these two lines right before the line that says /* That's all, stop editing! */:
define('WP_HOME','https://yourdomain.com');
define('WP_SITEURL','https://yourdomain.com');

Replace https://yourdomain.com with your actual site URL. No trailing slash. If you use HTTP instead of HTTPS, write http://.

Save the file and refresh your admin page. The styling should come back instantly.

Why this works

WordPress stores your site URL in the database. When you move a site from one domain to another, the database still has the old URL. The admin area tries to load CSS files from the old URL – which doesn't exist – so it falls back to plain HTML.

By defining WP_HOME and WP_SITEURL in wp-config.php, you override the database value. WordPress then loads the correct styles from your current domain. Simple fix, big impact.

Less common variations

1. Plugin conflict

Sometimes a plugin loads its own CSS or JavaScript and blocks the default admin styles. This happened to me with a security plugin that blocked all external scripts.

To test this:

  • Rename the plugins folder to plugins_old via FTP.
  • Check the admin again. If styling returns, one of your plugins is the problem.
  • Rename the folder back, then rename each plugin folder one by one until you find the culprit.

2. Broken theme in admin

Some themes modify the admin area. If you installed a theme that customizes the dashboard, it might break the CSS loading.

Switch to a default theme temporarily. Go to your database via phpMyAdmin, open the wp_options table, and change the row where option_name is template to twentytwentyfour. Also change stylesheet to twentytwentyfour.

3. HTTPS vs HTTP mismatch

If your site uses HTTPS but the URL in the database still says HTTP, the browser might block the insecure content. This is more common on shared hosting.

Check your wp-config.php for the lines I showed above. Make sure the URL starts with https://.

4. CDN or caching plugin issue

If you use a CDN or caching plugin, it might serve old CSS files. Clear the cache from the plugin settings. If you can't access the plugin settings because the admin is broken, delete the plugin folder via FTP (just the folder, not the database entries).

How to prevent this

This usually happens when you move a WordPress site or change the domain. To prevent it in the future:

  • When moving a site, update the database URL using a tool like WP-CLI or a search-replace plugin before you change the domain in your browser.
  • Keep a backup of your old URL so you can roll back quickly.
  • After any major update (WordPress core, plugins, themes), test the admin area first.

If you're on managed hosting, ask your host if they have a built-in search-replace tool. Many modern hosts include one in their dashboard.

That's it. The admin styling should be back. If not, check the browser console for specific error messages (F12 in Chrome or Firefox, look at the Console tab). Those errors usually point to the exact file that's missing.

Was this solution helpful?