Page Redirects Or Loops Unexpectedly

Last update: 07 November, 2017

You can redirect posts or pages using our Yoast SEO plugin. If a page redirects unexpectedly or causes a redirect loop only when our plugin is active, this means a redirect has been added to our plugin.

Table of Contents

Yoast Redirect Options

Example of Error

A possible redirect loop error may be shown below in Chrome. Similar errors may appear in FireFox, Edge, or Safari browsers:

Redirect Loop error

How to Find Error if Yoast is causing error

You can check if Yoast is causing these redirects loop. One method that works for all set-ups is to run a header check on the page. Each page has a header information which is only seen by the browser and is not displayed for humans. Using some tools such as a Header Checker or a Curl test you can see this data. o use a curl test to check the header you will need to navigate to your terminal.

Once at the terminal enter in curl -I full url of the page such as curl -I https://yoast.com/licenses/ then hit enter.

curl test Yoast 1

Some data will then appear. You can then review the redirect and determine if Yoast is responsible as it will say Yoast SEO Premium in it.

curl test Yoast 2

Redirect Added To The Individual Page or Post

The post level 301 redirect feature has been removed from the free plugin in favor of the more robust premium redirect manager as discussed here. If you have an older version of the free plugin you may still see these.

Although you can no longer add new post level redirects, previously entered post level redirects may appear under the advanced tab of the Yoast SEO (free or premium) meta box.

Yoast SEO Metabox: Advanced tab with redirect

Redirect Added In SEO Settings (Premium Version Only)

  • Log in to your WordPress website. When you’re logged in, you will be in your ‘Dashboard’. On the left-hand side, you will see a menu. In that menu, click on ‘SEO’.
  • The ‘SEO’ settings will expand providing you additional options. Click on ‘Redirects’.Yoast SEO > Redirects
  • Search for the post or page slug that should not redirect. Update or remove inaccurate redirects for the post or page.
Don’t forget to check the regex redirect tab as these types of redirects can be used to redirect multiple URLs to a single location.

Date Archives Redirect to Homepage

Disabling the date archives will cause the date URLs to automatically redirect to the homepage. If you would like to enable the date archives, please follow these steps:

  • Log in to your WordPress website. When you’re logged in, you will be in your ‘Dashboard’. On the left-hand side, you will see a menu. In that menu, click on ‘SEO’.
  • The SEO settings will expand providing you additional options. If you don’t see the ‘Titles & Metas’ setting in your ‘SEO’ menu, please enable your advanced settings first.

    Yoast SEO > Dashboard (Advanced disabled)

    Menu with advanced settings disabled
    Enable advanced features

  • Click on ‘Titles & Metas’.
    Yoast SEO > Titles & Metas
  • Click on the ‘Archives’ tab.
  • Toggle the ‘Date archives’ to enabled. Yoast SEO Enable/Disable Toggle Switch
  • Click ‘Save changes’.

Author Archives Redirect to Homepage

Disabling the author archives will cause the author URLs to automatically redirect to the homepage. If you would like to enable the author archives, please follow these steps:

  • Log in to your WordPress website. When you’re logged in, you will be in your ‘Dashboard’. On the left-hand side, you will see a menu. In that menu, click on ‘SEO’.
  • The SEO settings will expand providing you additional options. If you don’t see the ‘Titles & Metas’ setting in your ‘SEO’ menu, please enable your advanced settings first.

    Yoast SEO > Dashboard (Advanced disabled)

    Menu with advanced settings disabled
    Enable advanced features

  • Click on ‘Titles & Metas’.
    Yoast SEO > Titles & Metas
  • Click on the ‘Archives’ tab.
  • Toggle the ‘Author archives’ to enabled. Yoast SEO Enable/Disable Toggle Switch
  • Click ‘Save changes’.

Was this article helpful? ·