Search: error

88 results

How Do I Disable XML-RPC in WordPress?

Moved

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

View on new site

Go to WP Ghost > Change Paths > API Security, switch on Disable XML-RPC Access, and click Save. That is it. The xmlrpc.php file will return a 404 error for all requests, blocking brute force amplification attacks, pingback DDoS abuse, and username enumeration through this endpoint.

Why You Should Disable XML-RPC

XML-RPC is WordPress’s legacy remote communication protocol. It was built before the REST API existed and is rarely needed on modern sites. The …

How to Check If .htaccess Is Working with AllowOverride All for WordPress

Error (500) – that is actually good. It means Apache is reading the .htaccess file and it choked on the invalid line we added. Your .htaccess is working. Remove the “Test.” line to restore your site.

If your site loads normally with no error – Apache is ignoring the .htaccess file. This usually happens because the Apache configuration has set. You need to fix this before WP Ghost (or WordPress permalinks) will work correctly.

Test If mod_rewrite Is Working

Even if .htaccess is active, the mod_rewrite module must be enabled for WP Ghost’s rewrite rules to function. Here …

How to Hide wp-admin and wp-login.php from WordPress Source Code

… enough. You also need to hide the original so that bots get a dead end when they try it.

1. Stay in WP Ghost > Change Paths > Admin Security.

2. Switch on Hide “wp-admin”.

3. Click Save.

Once activated, any bot or visitor trying to access will see a 404 error. Only users who are already logged in through the custom login path can reach the dashboard.

For a complete walkthrough of all wp-admin options, see the Change and Hide wp-admin Path tutorial.

How to Change and Hide the wp-login.php Path

The wp-login.php path …

How Do I Hide Old WordPress Image Paths?

… way PHP files or JavaScript files do. Hiding them is not necessary to increase your WordPress protection. The main reason WP Ghost excludes images from the Hide File Extensions list by default is SEO: if Google has already indexed your images under the old paths, hiding them returns a 404 error. Anyone landing on your site through Google Images would see a broken page.

Even without hiding images, Google will eventually re-index all your media with the new custom paths over time. If you want to speed that process up, resubmit your sitemap in Google Search Console after changing …

Why Is My Custom Admin Path Redirecting to the Front Page?

Moved

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

View on new site

This happens because the “Hide the New Admin Path” option is enabled in WP Ghost. When this option is active, your custom admin path is treated as a hidden path, so visitors who are not logged in get redirected to the front page (or a 404 error) instead of the login form. To fix it, go to WP Ghost > Change Paths > Admin Security and switch off “Hide the New Admin Path.”

Why This Redirect Happens

WP Ghost …

How to Set Up WP Ghost on Ploi.io Hosting - Nginx Setup Guide

… Step 4 – Verify Your Setup

12. Go back to your WP Ghost settings and click the Frontend Login Test to verify your new login path loads correctly.

13. Open your site in an incognito browser window and confirm the old paths (like /wp-login.php and /wp-admin/) return 404 errors.

14. If everything works, click “Yes, it’s working” to confirm. If something is wrong, click “No, abort” to roll back instantly.

Troubleshooting

Error when changing the admin path on Ploi server. If you get a cache-related error when changing the admin path, turn off OPCache in the …

Fix upgrade.php Not Working After WordPress Auto-Upgrade with WP Ghost

… interfere with WordPress auto-updates. WP Ghost does not modify WordPress core files. It uses rewrite rules in .htaccess (on Apache) or config files (on Nginx), and all rules are rebuilt automatically when you save your settings.

If you ever encounter unexpected behavior after a WordPress update, you can temporarily disable WP Ghost by adding this line to your wp-config.php file:

This disables WP Ghost without deactivating it, so you can access your dashboard and troubleshoot. Remove the line when you are done. For more emergency options, see How to Disable WP Ghost in Case of Error

How to Set Up WP Ghost on WPMUDEV Hosting - Nginx Setup Guide

… the rules are active, reactivate the WP Ghost plugin.

12. Go to WP Ghost > Backup/Restore and restore your saved settings.

13. Click the Frontend Login Test to verify your new login path loads correctly.

14. Open your site in an incognito browser and confirm the old paths return 404 errors and the site loads correctly with the new paths.

15. If everything works, click “Yes, it’s working” to confirm. If something is wrong, click “No, abort” to roll back instantly.

For more details on backing up and restoring your WP Ghost configuration, see the Backup/Restore documentation.

Alternative …

Will There Be Issues If I Stop Using WP Ghost?

… security headers. Your site immediately becomes visible to bots scanning for default WordPress paths. If you bookmarked or shared your custom login URL, that URL will stop working since the path reverts to . Make sure you know the default login URL before deactivating.

If you are deactivating temporarily for troubleshooting, consider using the emergency disable method or adding to wp-config.php instead. This disables WP Ghost at runtime without fully deactivating it, making it easier to re-enable once the issue is resolved.

Frequently Asked Questions

Will deactivating WP Ghost cause 404 errors on my site?

Not on …

Can I Remotely Disable WP Ghost on a Client's Website?

… working normally. The WP Ghost plugin stays installed on their site, but it displays an activation prompt telling the client they need to reconnect. They won’t be able to use WP Ghost features until they enter a valid activation token.

The custom paths will change back to WordPress default paths once the client accesses the WP Ghost plugin settings on their site. This prevents any errors that might appear from running custom paths without an active license.

What Happens to the Client’s Settings and Configuration?

When you disconnect a website from the WP Ghost Dashboard, the plugin’s

Will WP Ghost Help My Site Against All Bots?

Moved

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

View on new site

Yes. WP Ghost significantly reduces bot traffic by eliminating the WordPress fingerprints that bots look for. When bots probe standard paths like /wp-admin, /wp-login.php, or /wp-content/plugins/ and receive a 404 error instead of a valid response, they move on to the next target. The result is a measurable drop in malicious bot requests, reduced server load, and lower resource consumption, which directly helps with inode quota and bandwidth issues caused by bot …

Can I Contact WP Ghost Support About Plugin Compatibility Issues?

… quickly, include the following in your message: the name and version of the conflicting plugin or theme, which WP Ghost security level you are using (Safe Mode or Ghost Mode), which specific WP Ghost settings you have changed from the defaults, what happens when the conflict occurs (error message, broken functionality, white screen, etc.), and whether the issue stops when you deactivate WP Ghost temporarily.

Premium subscribers receive priority support with typical response times of 24-48 hours during business days. Free users can report issues through the WordPress.org support forum.

Frequently Asked Questions

Will the WP Ghost …

What Value Does WP Ghost Add to My WordPress Security Stack?

… automatically. If the bot finds nothing recognizable, it skips your site entirely.

WP Ghost fills that gap by making your site invisible to the reconnaissance step. It changes all default paths, removes CMS fingerprints from the page source, and blocks access to common WordPress files. Bots scanning for standard WordPress structure get 404 errors and move on.

What WP Ghost Adds to Your Existing Stack

No matter what security tools you already use, WP Ghost adds these layers that the others typically do not provide.

Attack surface reduction. WP Ghost changes over 30 WordPress paths including admin, login, plugins (with

How Does WP Ghost Compare to Wordfence? Can They Work Together?

… security headers, or simulate a different CMS. Your site’s WordPress structure remains fully visible to bots and scanners even with Wordfence active.

What WP Ghost Adds

WP Ghost fills the prevention layer that Wordfence leaves open. It changes over 30 default WordPress paths, hides individual plugin and theme names with random codes, strips CMS fingerprints from the HTML source, blocks access to common WordPress files, and can simulate a different CMS like Drupal or Joomla. When a bot scans for or , it gets a 404 error. The bot cannot confirm WordPress and cannot load its exploit toolkit. The attack

Will WP Ghost Protect Against Spam Signups?

… privilege escalation attacks if a plugin has a vulnerability that lets a subscriber account gain admin access.

How Does Changing the Registration Path Stop Spam Bots?

WP Ghost replaces the default URL with a custom path that only you know. Bots that try the default registration URL get a 404 error. They can’t find where to sign up, so they can’t create fake accounts. This single change eliminates the vast majority of automated spam registrations because bots follow scripts and those scripts target the default path.

To change the registration path, go to WP Ghost > Change Paths > Login …

How Customizable Is WP Ghost? Can I Control Every Setting?

… blocking thresholds: how many attacks trigger a block, the time window, and the block duration. Add custom blacklists and whitelists for IPs, user agents, and referrers.

Brute force protection. Select the reCAPTCHA type (Math, Google V2, Google V3, or Enterprise). Set the maximum number of failed login attempts, the lockout duration, and custom error messages. Enable or disable protection individually on login, lost password, registration, comment, and WooCommerce login forms.

Two-factor authentication. Choose a single 2FA method (authenticator app, email, or passkey) or enable User Choice so each person selects their own. Configure max failed 2FA attempts and …

Does WP Ghost Slow Down WordPress?

… locations.

The firewall runs early and exits fast. The 7G/8G firewall filters malicious requests at the WordPress init level. Blocked requests are rejected immediately with minimal processing. Legitimate requests pass through with negligible overhead, just a few string comparisons against known attack patterns.

No file scanning on every page load. WP Ghost does not scan your file system, check file hashes, or run database queries on every visitor request. The Security Check feature runs on-demand when you trigger it, not continuously in the background.

Bot traffic reduction frees up resources. By returning 404 errors to bots scanning for

Does WP Ghost Affect Existing Indexed Assets Like Images and PDFs?

… Change Paths > WP Core Security and include media files in the configuration. When enabled, old media URLs are automatically redirected to the new paths. This ensures search engines and visitors are seamlessly redirected without encountering errors.

For most sites, leaving existing media on their original paths is the recommended approach. The redirect option is available for users who want maximum path consistency and are willing to wait for search engines to reindex the new URLs. For details on redirecting image paths, see the Redirect Images from Old Paths to New Paths tutorial.

Frequently Asked Questions

Will my Google Image …

Will WP Ghost Impact My SEO Rankings?

Moved

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

View on new site

No. WP Ghost does not affect your SEO rankings. It doesn’t change your public-facing page URLs, post slugs, or any content that search engines use for indexing. JSON-LD, schema markup, Open Graph tags, Twitter Cards, meta titles, meta descriptions, and all structured data remain untouched. WP Ghost only changes internal WordPress infrastructure paths (wp-content, wp-includes, plugins, themes), which have no influence on rankings.

What Does WP Ghost Change and What Does It …

Can WP Ghost Prevent Spam Messages and Comment Spam?

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 blocks automated comment spam bots and reduces spam from bots that target your site based on its CMS identity, but it does not filter contact form submissions. For automated WordPress comment spam, WP Ghost is effective. For contact form spam, you need a dedicated anti-spam plugin alongside WP Ghost.

What WP Ghost Does Against Spam

WP Ghost addresses spam at the bot level in several ways.

Blocks automated comment spam bots. WP Ghost changes …

Can I Reverse All WP Ghost Settings to Restore My Site?

… or config files on Nginx) and WordPress hooks. When WP Ghost is deactivated, the rewrite rules are removed and the hooks stop running. There is nothing to “undo” because nothing was permanently changed. The reversibility is a direct result of the architecture: runtime changes, not file modifications.

If You Cannot Access the Dashboard

If a setting causes a conflict and you cannot reach the WordPress admin to reverse it, WP Ghost provides multiple emergency recovery methods. Use the Safe URL parameter to bypass all protections for a single request. Use the Pause 5 Minutes button on the Plugins page …

How to Hide WooCommerce and Elementor Class Names in WordPress

… CSS and JS file on every uncached page load. This adds server processing time and can significantly slow down your site if you do not use a caching plugin.

Use a caching plugin. Install a cache plugin like WP Rocket, Autoptimize, or LiteSpeed Cache. Once the processed files are cached, the performance impact disappears. Set the cache to refresh weekly or monthly.

Avoid inline defer JS in your caching plugin. Inline defer JS loads JavaScript content as Base64 data URLs. WP Ghost can not process Base64-encoded content. Use delayed JS instead of inline defer JS in your caching …

How to Change the WordPress Database Prefix for Better Security

… and restores the original $table_prefix value in wp-config.php.

Troubleshooting

Site shows a database connection error after changing the prefix. The $table_prefix value in wp-config.php may not match the actual table names. If you can access the dashboard, use the undo button in Security Check. If you can not access the site, open wp-config.php via sFTP and change back to . Then check your database tables using phpMyAdmin to see what prefix they currently have, and make wp-config.php match.

Some plugins stopped working after the prefix change. A few plugins store …

How Can I Deactivate All WordPress Plugins at Once?

… everything.

When Should I Use This Technique with WP Ghost?

This is useful when you suspect a plugin conflict after activating WP Ghost’s Safe Mode or Ghost Mode. If your site layout breaks, pages return 404 errors, or specific functionality stops working, deactivating all plugins helps you determine whether WP Ghost or another plugin is causing the issue.

However, WP Ghost also provides easier recovery methods that don’t require FTP access. You can use the Safe URL parameter to temporarily bypass WP Ghost for a single request, or the Pause 5 Minutes button in the Plugins list …

Do I Need to Hide WordPress From Detectors or Hackers?

Moved

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

View on new site

Both, but for different reasons. Hiding from hacker bots is the security priority: it prevents automated attacks by removing the WordPress fingerprints bots use to identify targets and load exploits. Hiding from theme detectors is a branding and privacy choice: it prevents competitors, scrapers, and visitors from seeing your technology stack. WP Ghost handles both, and the security setup also covers the detector-hiding as a side effect.

Hiding From Hacker Bots: The Security Priority

The vast …

How to Set Up WP Ghost on Flywheel Hosting - Step-by-Step Guide

Moved

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

View on new site

To set up WP Ghost on Flywheel hosting, activate Safe Mode or Ghost Mode, add the generated redirects to Flywheel’s Redirect tool, clear the Flywheel cache, and verify the frontend loads correctly.

Why Flywheel Requires Extra Setup

Flywheel is a managed WordPress hosting provider that runs on Nginx servers. Unlike Apache-based hosts where WP Ghost writes rewrite rules directly to .htaccess, Flywheel does not give you direct access to the Nginx configuration. Instead, Flywheel provides …