Title: CSS paths don&#8217;t change. 404 Errors
Last modified: July 5, 2023

---

# CSS paths don’t change. 404 Errors

 *  Resolved [froggod](https://wordpress.org/support/users/froggod/)
 * (@froggod)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/)
 * Everything seems to work except CSS paths specifically are showing 404 errors
   when they’re switched. It doesn’t matter what directory the CSS files are located
   in, plugins, cache, upload etc.
   Any idea what could cause this?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Peter](https://wordpress.org/support/users/petersquirrly/)
 * (@petersquirrly)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/#post-16876119)
 * Hi [@froggod](https://wordpress.org/support/users/froggod/),
 * Thank you for reaching out. 
   Please make a Frontend Test from Change Paths > 
   Level of security and follow the notification you’ll receive on how to setup 
   the plugin on the server side.
 * Let us know if you face any further difficulties.
 *  Thread Starter [froggod](https://wordpress.org/support/users/froggod/)
 * (@froggod)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/#post-16881921)
 * I’ve done that of course.. As mentioned before, only the css doesn’t work .js
   and everything else works. 
   Is CSS not working specifically something that you’ve
   come across before?
 *  Plugin Support [Peter](https://wordpress.org/support/users/petersquirrly/)
 * (@petersquirrly)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/#post-16882234)
 * Yes, this usually means that the plugin is not properly set up on the server 
   side. When the new paths are not loading correctly (theme layout is affected),
   it means that the new paths for CSS and JS are not found.
 * This usually happens on Nginx servers if the new paths are not added in Nginx
   config and reloaded the Nginx service.
 * On Apache servers if the Allowoverride is no set to ALL so that the .htaccess
   file can load the new paths.
 * Here is a tutorial we wrote for cases like these to help you configure the server
   correctly:
   [https://hidemywpghost.com/theme-not-loading-correctly-website-loads-slower/](https://hidemywpghost.com/theme-not-loading-correctly-website-loads-slower/)
 * To configure the plugin on Nginx Servers:
   [https://hidemywpghost.com/how-to-setup-hide-my-wp-on-nginx-server/](https://hidemywpghost.com/how-to-setup-hide-my-wp-on-nginx-server/)
 * To configure the plugin on Apache Servers:
   [https://hidemywpghost.com/how-to-set-allowoverride-all/](https://hidemywpghost.com/how-to-set-allowoverride-all/)
 * Note! Follow the instruction from the plugin once you changed the paths if there
   are some hosts that need special configuration like WP Engine.
 *  Thread Starter [froggod](https://wordpress.org/support/users/froggod/)
 * (@froggod)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/#post-16884498)
 * Thank you for the reply.
 * I’ve read those articles already and followed the steps, as I mentioned a few
   times now, only the CSS isn’t working.
 * JS and everything else **is** working.
 * It doesn’t seem possible that JS would work, but CSS wouldn’t.
 *  Thread Starter [froggod](https://wordpress.org/support/users/froggod/)
 * (@froggod)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/#post-16894483)
 * The issue was nginx rules related to CORS

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘CSS paths don’t change. 404 Errors’ is closed to new replies.

 * ![](https://ps.w.org/hide-my-wp/assets/icon-256x256.png?rev=3217792)
 * [WP Ghost (Hide My WP Ghost) - Security & Firewall](https://wordpress.org/plugins/hide-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-my-wp/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [froggod](https://wordpress.org/support/users/froggod/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/css-paths-dont-change-404-errors/#post-16894483)
 * Status: resolved