Does WP Ghost Work Without Custom Permalinks?
This tutorial has moved to the new WP Ghost Knowledge Base where each feature is presented in detail.
WP Ghost needs a friendly permalink structure to change paths. With the Plain setting (?p=123) it shows the notice “You need to set the permalink structure to friendly URL (without index.php)”, so switch to Post name in Settings > Permalinks first.
Does WP Ghost work with plain permalinks?
Login protection such as brute force limits and two-factor authentication runs inside WordPress, so it doesn’t depend on the permalink setting. The path changes do: WP Ghost rewrites wp-content, wp-includes, plugins and themes with URL rewriting, the same server feature friendly permalinks use, and with Plain permalinks it hides the Custom wp-json Path setting.
If your server supports friendly permalinks, it supports WP Ghost’s path changes too.
Why should I switch to post name permalinks?
The “Plain” permalink structure (?p=123) is the WordPress default, but it’s the weakest option for both SEO and security.
SEO impact: Search engines prefer descriptive URLs. A URL like example.com/wordpress-security-guide/ tells Google what the page is about before it even reads the content. A URL like example.com/?p=247 tells Google nothing. Descriptive URLs also get more clicks in search results because users can see what they’re clicking on.
For WP Ghost: the path changes and the custom REST API path need friendly URLs, which is why WP Ghost shows its permalink notice until you switch.
How do I change my permalink structure?
Go to Settings > Permalinks in your WordPress dashboard. Select “Post Name” (the option that shows /%postname%/). Click Save Changes. WordPress generates the necessary rewrite rules automatically.
Important: If your site already has indexed pages with the old ?p= URLs, WordPress handles the redirects automatically. Old URLs will redirect to the new pretty URLs. If you have an established site with external links pointing to the old format, set up a redirect plugin so every old URL still resolves.
After changing your permalink structure, go to WP Ghost > Change Paths and click Save to regenerate WP Ghost’s rewrite rules for the new URL structure. Then clear any cache you’re running.
Frequently asked questions
Will changing my permalink structure break existing links?
WordPress handles 301 redirects from old plain URLs to new pretty URLs automatically. If you have an established site, verify the redirects are working by testing a few old URLs in a private browser. For extra safety, install a redirect monitoring plugin before making the switch.
My hosting doesn’t support pretty permalinks. Can I still use WP Ghost?
Yes. Login protection (brute force limits, 2FA) runs without friendly permalinks, but the path changes need URL rewriting. Apache with mod_rewrite, LiteSpeed and Nginx support it; if your host doesn’t, ask them to enable it.
Does WP Ghost modify WordPress core files?
No. WP Ghost uses server rewrite rules and WordPress filters. No core files are modified. Deactivating WP Ghost restores all defaults instantly, regardless of your permalink setting.