How to bulk Enable/Disable WordPress Search Engine Indexing using cPFence Tools?

Toggle Search Engine Visibility (WebUI Method)

 

  1. Log into cPFence WebUI and choose the server.
  2. Go to Tools & UtilitiesWP-AutoShield Bulk Tools.
  3. Open Disable Search Engine Indexing to hide sites, or Enable Search Engine Indexing to expose them again.
  4. Confirm the action; cPFence flips the “Discourage search engines” flag inside wp_options for every selected site.
  5. Watch the log to verify completion.

Use the site selector toggle when you only want staging domains hidden.

Command Line (CLI) Method

  1. SSH into the target server.
  2. Disable indexing everywhere:
    cpfence --bulk-disable-search-engine-index
  3. Re-enable indexing when ready:
    cpfence --bulk-enable-search-engine-index

Don’t forget to clear caches so meta tags update promptly.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Perform and Export Wordpress Vulnerability Scans with cPFence?

cPFence provides powerful tools for identifying and analyzing Wordpress vulnerabilities. With the...

How to Generate a List of All WordPress Sites on Your Server?

cPFence provides an easy way to generate a comprehensive list of all WordPress sites on your...

How to Quickly Identify Infected WordPress Sites Using cPFence?

cPFence makes it easy to identify and clean infected WordPress sites on your server. Follow the...

Why Doesn’t WP AutoShield Include a Custom Login URL Feature?

WP AutoShield focuses on robust and effective security measures for WordPress sites, but it does...

Does WP AutoShield Cause Issues with WP-Cron?

The short answer is no, WP AutoShield will not cause issues with WP-Cron. Here's why: Enhance...

Powered by WHMCompleteSolution