WP Ghost is compatible with CDN Enabler. CDN Enabler is a lightweight plugin that rewrites asset URLs to serve them from a CDN (commonly used with BunnyCDN). WP Ghost automatically detects the CDN domain configured in CDN Enabler and adds it to its CDN URLs list. The only configuration needed is setting WP Ghost’s Plugin Loading Hook to Late Loading so WP Ghost processes paths after CDN Enabler has rewritten the asset URLs.
CDN Enabler rewrites local asset URLs (CSS, JS, images) to point to your CDN domain. WP Ghost rewrites WordPress paths (wp-content, plugins, themes) to custom paths. Both plugins modify the HTML output, and the order matters. If WP Ghost runs before CDN Enabler, WP Ghost’s custom paths may not be applied to CDN-served URLs. Setting WP Ghost to Late Loading ensures it processes the HTML last, after CDN Enabler has already rewritten the asset URLs. WP Ghost then applies its path changes to the final output, including CDN URLs.
Automatic CDN detection: WP Ghost automatically detects the CDN domain configured in CDN Enabler and adds it to the CDN URLs list at WP Ghost > Mapping > CDN URLs. You don’t need to add the CDN domain manually. If you change CDN providers later, re-save WP Ghost settings to trigger detection of the new domain.
wp-content/plugins or wp-content/themes).wp-content/plugins and wp-content/themes. They should NOT appear anywhere, including in CDN URLs.WP Ghost isn’t loading late enough to process the CDN-rewritten URLs. Confirm the Plugin Loading Hook is set to Late Loading at WP Ghost > Advanced > Compatibility. Clear your cache after changing the setting. If the issue persists, check that WP Ghost has detected the CDN domain at WP Ghost > Mapping > CDN URLs.
Re-save WP Ghost settings to trigger automatic CDN detection. If the CDN domain still doesn’t appear in WP Ghost > Mapping > CDN URLs, add it manually. Enter your CDN domain (for example, cdn.yoursite.com) in the CDN URLs field.
If assets fail to load after enabling Late Loading, the loading order may be conflicting with another plugin. Try switching to Priority Loading instead of Late Loading to test whether the issue is loading-order related. If Priority Loading works but Late Loading doesn’t, check for other plugins that also modify HTML output late in the process.
Yes. CDN Enabler is commonly used with BunnyCDN, and WP Ghost works well with this combination. The same Late Loading configuration applies regardless of which CDN provider you use (BunnyCDN, KeyCDN, StackPath, or any other CDN).
If your CDN is managed by a different cache plugin, follow that plugin’s specific compatibility guide instead. See WP Ghost and WP Rocket or WP Ghost and LiteSpeed Cache. CDN Enabler is a standalone CDN rewrite plugin and needs the Late Loading approach specifically because it modifies HTML output independently.
Yes. After changing any path in WP Ghost, purge your CDN cache so edge servers fetch fresh copies with the updated paths. CDN edge caches hold stale versions until explicitly purged. Purge from your CDN provider’s dashboard (BunnyCDN, KeyCDN, etc.).
No. WP Ghost writes rewrite rules to .htaccess (Apache) or hidemywp.conf (Nginx) and uses WordPress hooks for application-level changes. No core files are modified.
WP Ghost with CDN and performance plugins:
Replace the default wp_ database prefix with a random one to protect against SQL injection…
Change the WordPress uploads directory path with WP Ghost (rewrite rules, no files moved) or…
Configure WP Ghost with WP Rocket cache. Enable file optimization, Change Paths in Cache Files.…
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…
Step-by-step guides to connect WP Ghost 2FA with Google Authenticator, Authy, Microsoft Authenticator, or LastPass.…