Redirect Bots Setting

The Redirect Bots setting 301 redirects well-known crawler user agents (bots) on the site to the parent page when they request a page ending in a number or in a query argument.


About Redirect Bots

Bots will see a URL that ends in a number or query like 1, or even a year like 2019, and will increment it (2020, 2021, etc.), continually and high as they want. Because the URL is different, each of these page they views will be seen as new and isn’t going to be cached, meaning the server will start to experience lag and high load as its bombarded with these requests. EX:

site.com/page/2019
site.com/page/2020
site.com/page/2021

With the redirect bots setting turned on, our server will automatically redirect all bot visits for these types of URLs back to simply: site.com/page/

NOTE

We highly advise keeping a clean sitemap and robots.txt available for bots to help curb this behavior, as well.


Manage Redirect Bots

Redirect bots is disabled by default. This setting can be managed from the User Portal.

  1. Log in to the User Portal
  2. Click on the environment name you wish to disable this on
  3. Click Utilities
  4. Locate Redirect Bots
  5. Toggle to Enable or Disable the redirect bots setting

If a service you’re using to scan your site is having issues or receiving a 301 redirect, there’s a chance this is due to the redirect bots setting and it needs to be disabled.

For example, using Facebook’s URL debugger tool attempts to scrape a specific page of the site that ends in a number, using one of the well known user agents that is redirected by default. This causes the tool to show an error. With the redirect bots setting turned off, it allows Facebook to properly scrape and analyze the data given.


NEXT STEP: Learn how to read and use the robots.txt file

Still need help? Contact support!

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to your account to get expert one-on-one help.

The best in WordPress hosting.

See why more customers prefer WP Engine over the competition.