Yes, WP Ghost works with any WordPress permalink structure, including the default Plain (post ID) setting. You do not need to change your permalinks to use WP Ghost. That said, for improved SEO, readability, and compatibility with path security features, the Post Name permalink structure is recommended. You can set this at Settings > Permalinks in your WordPress dashboard. WP Ghost’s path security, firewall, brute force protection, and 2FA all function regardless of which permalink option you choose.

How WP Ghost Handles Permalinks

WP Ghost uses server rewrite rules to apply path security, these rules operate at a different layer than WordPress’s permalink settings. Whether your site uses Plain, Day and Name, Month and Name, Numeric, Post Name, or a Custom Structure for post URLs, WP Ghost’s path changes for wp-admin, wp-login, wp-content, plugins, themes, and other WordPress paths continue to work the same way.

Why Post Name Permalinks Are Recommended

While every permalink option works with WP Ghost, the Post Name structure offers several benefits for most WordPress sites:

Better SEO. URLs like yourdomain.com/sample-post/ are more descriptive to search engines and users than yourdomain.com/?p=123. Descriptive URLs help search engines understand page content.

Improved readability. Human-readable URLs are easier to share, remember, and trust. Visitors seeing a clean URL are more likely to click it than a query-string URL with numeric IDs.

Consistent with path security. Custom paths created by WP Ghost blend naturally with Post Name URLs. Your entire URL structure becomes clean and intentional rather than mixing human-readable and query-string formats.

How to Change Your Permalinks

If you decide to switch permalink structures:

  1. Go to Settings > Permalinks in your WordPress dashboard.
  2. Select Post Name (or any structure other than Plain).
  3. Click Save Changes.

WordPress automatically sets up 301 redirects from the old permalink format to the new one, so links that were previously shared or indexed continue to work. After changing permalinks, re-save WP Ghost settings so the rewrite rules stay in the correct order.

For initial WP Ghost setup guidance, see Set Up WP Ghost in Safe Mode in 3 Minutes. After any permalink change, run a Security Check to confirm WP Ghost’s path security is still active: Website Security Check.

Frequently Asked Questions

Will changing permalinks break my existing links?

WordPress handles most permalink transitions automatically by setting up redirects from old URL formats to the new ones. Bookmarked links and links in search engine results typically continue to work after the change, though it is a good idea to monitor Google Search Console for any crawl errors in the weeks after switching.

Do I need to do anything in WP Ghost after changing permalinks?

Re-save your WP Ghost settings. Go to any WP Ghost settings page and click Save to regenerate the rewrite rules in the correct order relative to WordPress’s permalink rules. This takes just a moment and prevents rule-order issues.

What happens if I use a Custom Structure?

WP Ghost works with Custom Structure permalinks too. As long as your custom structure produces valid WordPress URLs, WP Ghost’s path security applies on top of whatever permalink format you choose.

What if something breaks after the permalink change?

The most common cause is cached pages or cached server configuration still pointing to old URLs. Clear your WordPress cache plugin, CDN cache, and server cache, then retest. If issues persist, see How to Disable WP Ghost in Case of an Error for recovery options.

Does WP Ghost modify WordPress core files?

No. WP Ghost works through server rewrite rules and WordPress hooks, at a different layer than WordPress’s permalink engine. No WordPress core files are modified. Deactivating WP Ghost restores every default path instantly, regardless of which permalink structure your site uses.