WP Ghost with Breeze Cache Plugin – Configuration and Path Rewriting

Moved

This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.

View on new site

WP Ghost (formerly Hide My WP Ghost) is compatible with Breeze cache plugin. The key configuration step is enabling “Change Paths in Cached Files” in WP Ghost so custom paths are applied inside Breeze’s cached CSS and JS files. Exclude your custom login and admin paths from Breeze’s page cache.

How to Configure WP Ghost with Breeze

Step 1: Exclude Custom Paths from Breeze Cache

Go to Breeze > Settings > Advanced Options. In the “Don’t cache these pages” section, add your custom login path and custom admin path (the paths you set in WP Ghost). This prevents Breeze from caching pages that require authentication.

Breeze cache plugin installed alongside WP Ghost in the WordPress plugins list

Step 2: Enable Change Paths in Cached Files

Go to WP Ghost > Tweaks. Enable Change Paths in Cached Files. Click Save. This rewrites WordPress paths inside Breeze’s cached CSS and JS files so they use your custom paths instead of /wp-content/ and /wp-includes/.

WP Ghost Tweaks showing Change Paths in Cached Files enabled for Breeze compatibility

Step 3: Purge Breeze Cache and Verify

Purge all Breeze cache from Breeze > Settings > Purge All Cache. Open your site in an incognito browser, view page source, and search for “wp-content”. No default WordPress paths should appear in the source — including in cached CSS and JS file URLs.


Troubleshooting

Cached CSS/JS files still show old WordPress paths. “Change Paths in Cached Files” may not have processed the cache yet. Purge all Breeze cache, then reload the page in incognito. WP Ghost processes cached files in the background using WP-Cron — allow a minute for processing after purging.

Minified files have broken styling. If Breeze’s minification combines CSS or JS files in a way that conflicts with WP Ghost’s path rewriting, try disabling Breeze’s file combination (keep minification on but turn off “Group Files”). This lets WP Ghost process individual files more reliably.

Login page is cached. Your custom login path is not excluded from Breeze’s cache. Add it to “Don’t cache these pages” in Breeze > Advanced Options.


Frequently Asked Questions

Does Breeze’s minification work with WP Ghost?

Yes. Breeze minifies and combines CSS/JS files, and WP Ghost’s “Change Paths in Cached Files” rewrites paths inside those minified files. Enable both for optimized and hidden paths.

Do I need to purge Breeze cache after changing WP Ghost paths?

Yes. After any path change in WP Ghost, purge Breeze’s entire cache so new cached files are generated with the updated paths.

Does this work with Breeze CDN integration?

Yes. If Breeze is configured with a CDN, add the CDN domain in WP Ghost > Mapping > CDN URLs so path changes apply to CDN-served assets too.

Does WP Ghost modify WordPress core files?

No. WP Ghost uses rewrite rules and WordPress hooks. Cached file path rewriting modifies copies in the cache directory, not original files. Deactivating restores all defaults.


Hide Paths in CSS Files – how Change Paths in Cached Files works.

CDN URL Mapping – extend path changes to CDN domains.

Customize All WordPress Paths – configure paths before cache setup.

Compatibility Plugins List – all tested cache plugins.

Website Security Check – verify your configuration.