Search Over 18,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Multisite Robots.txt Manager

A Multisite Robots.txt Manager - Quickly and easily manage all robots.txt files on a Wordpress Multisite Website Network.

A Multisite Robots.txt Manager - Quickly and easily manage all robots.txt files on a Wordpress Multisite Website Network.

!!! Network Enabled Multisite Installs Only !!! This Plugin Was Created For Multisite Networks > Network Activations Only!

Features:

  • Manage all Websites from Network Administration Area.
  • Manage a single Website through the Website Settings Admins.
  • Instantly add Sitemaps URL's to all robots.txt files.
  • Mass update the all Websites on the Network in a single click.
  • Create custom and unique robots.txt files for each Website.
  • Quickly publish preset robots.txt files to the Network or a Website.
  • Auto detection and one click correction for 404 robots.txt files.
  • Auto detection and one click correction of old robots.txt data.

Quick Info:

  • The default "Network Wide" robots.txt file is NOT a live robots.txt file.
  • If you deactivate the plugin, no options are removed but the plugins robots.txt file(s) are no longer displayed.
  • If you delete this plugin, all options and settings will be removed from the database, for all Websites.

  • Get The Plugin: Download > Install > Network Activate

  • Network Access: Network Admin > Settings Tab > MS Robots.txt Link
  • Website Access: Website Admin > Settings Tab > MS Robots.txt Link

Make It Work:

  • Network Admin: Modify and save the default robots.txt file, then click the "publish to network" button to duplicate the default robots.txt file to all Websites on the Network.
  • Network Admin - Unique Website: From the dropdown menu select a website, then click the "change sites" button. Modify the robots.txt file then click the "update this website" button to publish your changes.
  • Website Admin: Modify the robots.txt file then click the "update this website" button to publish your changes.

** You must click either the "publish to network" or "update this website" button before any robots.txt files are set live.

Submit Feedback For Improvements | Screenshots | Plugin Home

Author tribalNerd
Profile
Contributors tribalNerd, Chris Winters
Tags google, MU, multisite, network, plugin, robot, robots, robots.txt, search, seo, spiders, technerdia, tribalnerd, virtual

View the Install Guide | Screenshots | Feedback

Install through the Wordpress Admin

  • It is recommended that you use the built in Wordpress installer to install plugins.
    • Multisite Networks: Network Admin > Plugins Menu > Add New Button
  • In the Search box, enter: robots.txt
  • Find the Plugin "Multisite Robots.txt Manager"
  • Click Install Now and proceed through the plugin setup process.
    • Activate / Network Activate the plugin when asked.
    • If you have returned to the Plugin Admin, locate the "Multisite Robots.txt Manager" Plugin and click the Activate link.

Upload and Install

  • If uploading, upload the /ms-robotstxt-manager/ folder to /wp-content/plugins/ folder for your Worpdress install.
  • Then open the Wordpress Admin:
    • Multisite Networks: Network Admin > Plugins Menu
  • Locate the "Multisite Robots.txt Manager" Plugin in your listing of plugins. (sort by Inactive)
  • Click the Activate link to start the plugin.

Alpha Release

0.4.0

  • Major rebuild
  • Modified how and when the sitemap urls are created.
  • Created top-level domain array for sitemap url breakdown.
  • Removed network map checks due to alt setup methods.
  • Update preset robots.txt files and create 2 new styles.
  • Rebuilt all options to use array format.
  • Renamed classes and functions.
  • Added better sanitization and escaping throughout.
  • Adjusted how pro extension integrates in.
  • Modified admin html/css to work better for mobile.
  • Removed a few pounds of code.
  • Improved help text throughout.
  • Improved error checking.
  • Adjusted install/uninstall functions for non-network installs.
  • Merged network admin and website admin template.
  • Add old robots.txt plugin detection and cleaning option.

0.3.1

  • Created website admin areas.
  • Added is_user_member_of_blog function for super admins.

0.3.0

  • Modified add_submenu_page calls.
  • Modified DB prepare() statements.
  • Structure change to make room for automation feature.
  • Cleaned undefined index errors.
  • Ran PHP Debug and WP Debug and removed related errors.

0.2.2

  • Modified add_submenu_page calls.
  • Modified DB prepare() statements.
  • Structure change to make room for automation feature.

0.2.1

  • Made robots.txt file display when a Website within a directory (domain.com/domain-path) is called.
  • Added is_network_admin() and $_SERVER script checks around extra links function.
  • Cleaned up activation & deactivation hook calls to only be called when executed.
  • Added do_action( 'do_robotstxt' ); call after header call of robots.txt display.
  • Adjusted robots.txt display to use public/private blog feature correctly.
  • Removed is_user_member_of_blog() check around add_submenu_page() calls.
  • Added $_GET['page'] == "ms_robotstxt.php" wrap around tab display call.
  • Improved sitemap structure url output with various domain structures.
  • Added current_user_can() && is_super_admin() check to uninstall.php
  • Added / adjusted wp_nonce_field and check_admin_referer calls.
  • Created second set of tab links at the bottom of plugin admin.
  • Cleaned up robots.txt display class - add_filter call.
  • Setup better error handling on all form submits.
  • Added in version check and file check calls.
  • Improved sitemap structure function.
  • More comments.

0.2.0

  • Made the site dropdown list populate in a new way, and list site names insted of domains.
  • Added sitemap option, url, and structure to default robots.txt, per site, and pre-sets.
  • Adjusted all post types and preset values, and option arrays to use sitemap structure.
  • Adjusted default option for websites robots.txt to store data within an array.
  • Created a new sitemap option to store sitemap data at the Website level.
  • Adusted, cleaned html and corrected typos within admin area template.
  • Adjusted default robots.txt option to store data within an array.
  • Created instructions for the Sitemap URL Structure feature.
  • Adjusted robots.txt display to include sitemap urls.
  • Adjusted uninstall.php to use new option names.
  • Removed transient cache and related db calls.
  • New screenshot file and readme.txt updated.
  • Updated Wordpress Function References.
  • Added non-network check on install.
  • Serialize proper option data.

0.1.1

  • Replaced action do_robots with filter robots_txt at call.
  • Removed ob_gzhandler

0.1

  • Created March 08, 2012

F.A.Q. | Screenshots | Feedback

Frequently Asked Questions:

Q) Not all Websites are showing in the dropdown on the admin page, what's wrong?

A) Your User is not a member of the other blogs. Login as the other users, or access the Network Admin > Sites Admin > Edit a Site > User Tab and set your User Name as an Administrator for each Website.

Q) Can the plugin update all Websites at once?

A) Yes.

Q) Does this plugin work on Non-Multisite Installs?

A) No, your install MUST be Multisite/Network enabled.

Q) Does this plugin work on Wordpress.COM (free hosted) Websites?

A) No.

Q) Can I activate this plugin within a Websites wp-admin?

A) No, only within the Network Admin.

Q) Do I have to access each Website to manage the robots.txt file?

A) No, the Main Admin Area for the MS Robots.txt Manager is located within the Network Admin.

Q) Can I add my own robots.txt file?

A) Yes.

Q) Can every Website have a different robots.txt file?

A) Yes.

Q) Does this plugin add Sitemap links to the robots.txt file?

A) Yes.

= Q) Can I add multiple sitemap urls?

A) Not at this time, but in a future release that will be possible.

Q) Does the Sitemap url automatically get added to the robots.txt file?

A) Once the feature is activated, yes.

Q) Can Websites have a Custom Sitemap URL?

A) Yes.

Q) Does the robots.txt file render for non-root domains / Websites with a path?

A) Yes, however.... Search Engine Spiders do not read robots.txt files within a directory, robots.txt files for non-mapped domains are for for error checking purposes only.

Q) I run a real Multisite Network, all Sites are in a Path, don't they need a robots.txt file?

A) From what I understand, no.... The root / network Website will contain the only robots.txt file.

Q) My robots.txt files are 404 - file not found, what's wrong?

A) The issue is due to an option called "rewrite rules" - it's missing the robots.txt entry. Visit the Help Tab within the plugin admin, under the Check for Errors section click the "check for missing rewrite rules" button. This will scan all Websites for the missing entry or missing rewrite rules. If any are found a new button will appear allow you to correct the issue.

Q) The incorrect robots.txt file is displaying, what's wrong?

A) Typically this issue is due to either an a different robots.txt file plugin is active or that plugins robots.txt file data was never deleted when the plugin was removed. Visit the Help Tab within the plugin admin, under the Check for Errors section click the "check for old robots.txt plugin data" button. This will scan all Websites for old robots.txt plugin data. If any are found a new button will appear allow you to clean the old data out.

Q) Can I use other robots.txt file plugins with the MS Robots.txt Manager Plugin?

A) No, multiple plugins will cause display issues with the robots.txt files.

Q) Can I use other Sitemap Plugins to add more Sitemap URL's to the robots.txt files?

A) Yes.

Q) Does the plugin remove the settings when it is disabled or deleted?

A) When the plugin is disabled, no settings are deleted, however the robots.txt file created by the plugin will no longer display. When the plugin is deleted, all settings the plugin created are removed from the database.

Frequently Asked Questions

Arbitrary section

View the Install Guide | Screenshots | Feedback

Understanding the Default Settings

  • When you first enter the plugin admin via the Network Admin, the shown robots.txt file is the default "network only" or "network wide" working copy. Modify the default robots.txt file, save the default file, and when ready click the "publish to network" button to duplicate the robots.txt file to all Network Websites.

Create / Manage

  • The Defaults tab contains an inactive, "network only" or "network wide" working copy of the robots.txt file. Modify the default robots.txt file, save the default file, and when ready click the "publish to network" button to duplicate the robots.txt file to all Network Websites.

Sitemap URLs and Structure

  • The Sitemap URL Structure feature uses 3 different [shortcodes] to customize how sitemap urls are rendered on a robots.txt file. The shortcodes get a websites url and then break the url apart, separating the domain name from the domain extension.

  • Example Structure: http://WEBSITE_URL/sitemap.xml

  • The [bracket] within the url automatically gets replaced by the plugin (You Will Use The Brackets).

  • The default sitemap structure within the network admin, "must" use the [bracket] structure, otherwise when you publish to the network, the sitemap urls will not render correctly. You can directly modify a Websites sitemap structure or enter a full sitemap url, by selected the site from the drop down menu above, then click the "change sites" button.

Sitemap URL Structure

Structure Meaning

  • [WEBSITE_URL] = domain.com
  • [DOMAIN] = domain
  • [EXT] = .com/net, etc.

  • Always include the http:// with the Sitemap URL Structure.

  • If the sitemaps are within a directory, /include-the-path/ within the sitemap url.

Robots.txt Files within Directories

  • This plugin WILL render robots.txt files within directories - however,

  • Search Engine Spiders only read robots.txt files found within the root directory of a Website. Spiders do not read robots.txt files within directories, such as: domain.com/PATH-or-FOLDER/robots.txt is NOT a valid location.

  • From Google: "The robots.txt file must be in the top-level directory of the host.....Crawlers will not check for robots.txt files in sub-directories." [ source ]

Testing Robots.txt Files

  • Use Google's Webmaster Tools to Validate your Robots.txt Files.... with Google at least.:
  • Log into your Google Account and access the Log into your Webmaster Tools feature. Select a Website or Add a Website....

  • On the Webmaster Tools Home page, click the site you want.

  • Under Health, click Blocked URLs.
  • If it is not already selected, click the Test robots.txt tab.
  • Copy the content of your robots.txt file, and paste it into the first box.
  • In the URLs box, list the site to test against.
  • In the User-agents list, select the user-agents you want.
  • https://developers.google.com/webmasters/control-crawl-index/docs/robots_txt

New Website Added to Network

  • If all Websites use the saved Network default robots.txt file, click the "publish to network" button to copy the default robots.txt file over to any new Websites you have.
  • Per Site: Change to the Website in the dropdown. Then click the "reset this website" button to copy the default robots.txt file to this Website. If needed, modify the robots.txt file and click the "update this website" button once done.

Disabling

  • Disable a Website: To disable the MS Robots.txt Manager on a Website, select the Website from the dropdown menu, then click the "change sites" button. With the Website's robots.txt file open, click the "disable this website" button. This will clear the robots.txt file and sitemap structure settings for this Website only, making the Wordpress default robots.txt file display.
  • Disable across the Network: Select the default robots.txt file within the Text Area, click the delete on your keyboard, then click the "publish to network" button. You can not save a blank default robots.txt file, but you can publish a blank robots.txt file, which will disable the robots.txt file option for each Website within the Network.

Resetting

  • Reset Default: Something wrong? No worries! When viewing the Networks robots.txt file, click the "reset to default" button to replace the displayed robots.txt file with the core "coded in" default robots.txt file.
  • Reset Website: To reset a Websites robots.txt file, change to the Website within the dropdown, then click the "reset this website" button to pull in the "Networks Default Robots.txt file" (not the coded in default file).

Presets / Examples Tab

  • This feature allows you to quickly duplicate premade robots.txt files and a sitemap structure url, to either the default network wide robots.txt file or a selected Websites robots.txt file.
  • To use: Select the Network or a Website from the dropdown. Check the box to add a sitemap structure, modify/enter a Sitemap Structure (not required). Finally, click the "set as default" button above the robots.txt file example you want to use.

  • Presets can also use the Sitemap URL Structure setting. Read above on how to use this feature.

Recommended Sitemap Plugins

For "real" Multisite HOST Networks, use the Wordpress plugin: BWP Google XML Sitemaps - This plugin will list each Websites Sitemap URL's in the Root Network Website's robots.txt file.

Share  
Download
Version 0.4.0

Requires WordPress version: 3.3 or higher

Compatible up to: 3.5.1

Last Updated 17 Apr 2013

Date Added: 14 Mar 2012

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

4.56 stars
9 ratings
13,196 downloads

Compatibility

Not Enough Data

Reports:
Works: 1
Broken: 0

Probably Works.
Considering downloads, would expect problems reported.