Even if WP Rocket doesn’t offer a free version of the cache plugin, we recommend buying it as it’s one of the best cache plugins on the market.
With a bit of setup, WP Rocket + Hide My WP Ghost will help you secure your website & hide the plugin and theme CSS and JS files from Themes Detectors.
To hide all CSS and JS you need to follow the steps to Combine the JS and CSS files into one file. Let’s see how you can do this with the WP-Rocket plugin.
The plugin offers the option to Minify and combine the JS Files into one file. As we tested it, this worked well with WP Ghost.
The Combine JavaScript Files option will combine all of your JavaScript files into a single undetected by theme detectors file.
Combining CSS and JS files will still result in a speed bump for specific WordPress sites, so we recommend testing your page speed with this option enabled and disabled.
The plugin offers the option to Minify and combine the CSS Files into one file. We tested it, and it worked well with WP Ghost.
WP-Rocket “Combine CSS files” option will combine all of your CSS files into a single undetected by theme detectors file.
Now that all the CSS and JS are combined, these files are present in the cache directory.
By default, the cache path is /cache/min/ but the URLs inside the cache are /cache/min/1/wp-content/ and /cache/min/1/wp-includes/ where 1 is the site ID.
WP Ghost automatically detects WP Rocket and hides the WP-Rocket cache URL in Hide My WP > Mapping > URL Mapping.
To activate WP Ghost and change the paths in the cache file, go to WP Ghost > Change Paths and activate the option Change Paths in Cache Files from the sidebar. The plugin will automatically change the paths in the background using WP Cron.
Note! If WordPress Cron is deactivated on your website, you can manually click to change the paths once the files are cached.
Because hackers often use bots to search for security flaws in your website, it is…
The easiest way to change the default media uploads path is to use the WP…
https://youtu.be/6ylhojSi-_E In this video, we’ll explore why website security matters and what can happen if…
The security of your WordPress site depends on multiple factors, such as the strength of…
When you enable two-factor authentication (2FA) for your WordPress website, it adds an extra layer…
One of the benefits of using the 7G Firewall is that it's highly customizable with…