Using Pages to Create a Custom Robots.txt File


WARNING!: This is an advanced feature. You must consult Google's Webmaster Tools or some other outside source before you make any edits to your robots.txt file. Improperly editing this page can cause damage to your SEO.

These resources explain the functions and limitations of this file:

About /robots.txt (The Web Robots Page)

Learn about robots.txt files (Google Help)


The robots.txt file is used by search engines to categorize and archive web sites. It can be used in conjunction with Google's Webmaster Tools to optimize changes to your site. For example, if you have an existing site and are relaunching as a Metro Publisher website, you can use alterations to the robots.txt file to inform Google of the various changes from the old site to the new one. This can help minimize the adverse temporary effects caused whenever relaunching a website.

For more information about how specifically to use your robots.txt file including the exact lines of code you should input, you will need to consult Google's Webmaster Tools support documents.

Example of a robots.txt file:


The image above shows the default robots.txt file for Metro Publisher sites. These lines of code direct search engines to the sitemaps for your website. It is an essential part of how your site is indexed.

Default code:

User-agent: *


You must follow these instructions to block Google from certain pages:

To keep a web page out of Google, block indexing with noindex or password-protect the page.

NOTE: Since it has become relevant, here is the entry that would block AI and Google's BARD:

For ChatGPT:

User-agent: GPTBot
Disallow: /
User-agent: ChatGPT-User
Disallow: /


User-agent: Google-Extended
Disallow: /


If you would like to alter or customize the robots.txt page, use Pages to do so.

  1. Log in as an editor and click on "Pages" from the main navigation.
  2. Then at the bottom of the page select  "Add" from the menu.
  3. On the subsequent screen, select "Text."
  4. Add the title.
    NOTE:  This will not appear within the content of the page, so you may call it anything you want.
  5. Name the new page simply "robots.txt"
    NOTE: This is the only name that you can give it. If you name it any other way, the search engines will not find it.
  6. DO NOT assign it to a section or subsection.
  7. Add whatever code you need.
    NOTE: Unless you are an advanced user, you MUST consult webmaster tools to edit this page. If you edit this page improperly, search engines will not index your site properly.
  8. Remember to "Save."

That's it. Wait a few minutes for your new page to clear the cache.


Have more questions? Submit a request


Powered by Zendesk