Plugin Support
Peter
(@petersquirrly)
Hi @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.
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
(@petersquirrly)
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/
To configure the plugin on Nginx Servers:
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/
Note! Follow the instruction from the plugin once you changed the paths if there are some hosts that need special configuration like WP Engine.
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.
The issue was nginx rules related to CORS