Hide WordPress Common Paths in CSS Files

It was a real challenge to hide paths in CSS files but we managed to find a solution that will not affect the load on the web page.

Since version 4.2, you can use Hide My WP Ghost together with Autoptimize plugin and the plugin will look into the /wp-content/cache directory and change all the common paths.

We’ve tested the plugin with Wp-Rocket, Elementor, W3 Total Cache, Autoptimize, WP Fastest Cache and all these plugins passed the tests successfully.

So, all you need to do is to switch on Hide My WP > Tweaks > Change Paths in Cached Files and clear the cache from your cache plugin.

Once the caches are loaded into /cache directory, the paths will be changed with the custom once.

Learn how to install Hide My WP Ghost:

Learn how to setup Hide My WP Ghost: