How to redirect a post or page

The redirect functionality has been created to solve problems with redirects in your WordPress site. To do this, we use relative input for redirecting. This means you do not need to enter your site address in the old URL because we already add it for you using the WordPress site address found under Settings → General → Site Address in your WordPress admin.

For the following examples, we will use to represent the WordPress site address.

Table of Contents

Valid examples

The following examples will use as WordPress site address.

The Old URL has to be your WordPress site address. You can enter the Old URL as or as redirect_url. Both will point to the same URL.

The target URL can be both as well, but can also contain an external URL, for example:

Redirect manager

Yoast SEO for WordPress Premium includes a redirect manager.

  1. Log in to your WordPress website.

    When you’re logged in, you will be in your ‘Dashboard’.

  2. Click on ‘SEO’.

    On the left-hand side, you will see a menu. In that menu, click on ‘SEO’.

  3. Click on ‘Redirects’.

    The ‘SEO’ settings will expand providing you additional options. Click on ‘Redirects’.

Please keep the following in mind when creating a redirect, as most problems with redirects are due to a faulty input.

Redirect Within your WordPress site

Yoast SEO  Redirects : Example 2

For this example, we’ll be redirecting broken URLs to the homepage or another item on your website.

In the above example you see the following:

  1. A redirect from to
  2. A redirect from to
  3. A redirect from to

Redirect Outside of your WordPress site

For this example, we’ll be redirecting a broken URL to another domain. This means that you can enter -for example- /broken-link/ to be redirected to any URL (e.g. This would result in the absolute URL being redirected to

Yoast SEO Redirects : Example 1

Old URLs are relative!

Following from the fact that we only handle relative input we cannot redirect you from the one (sub)domain to another. So if your blog is installed on, you cannot redirect your visitors from:

To redirect people from those URLs, you’d need a WordPress install with WordPress SEO Premium activated on those URLs.

Deleting a Redirect

Delete an Individual Redirect

To delete an individual redirect go to SEO-Redirects and find the redirect. Then mouse over it and a delete option will appear. Click on it and the redirect is removed.

Delete Redirect
Delete Redirect

Deleting Redirects in Bulk

The other option is to bulk delete redirects. You can delete redirects in bulk by clicking on Type which will mark all the redirects on the page. Then clicking Delete in the Bulk Action Drop-down Menu. Finally, select Apply.

Select Type
Select Type
Select Delete in the Bulk Action drop-down menu
Select Delete in the Bulk Action Drop-down Menu
Select Apply
Select Apply

Redirecting with UTMs

When you have the UTM parameters in the URL, you’ll need to use the Regular Expression Redirects (RegEx) method. They may get stripped out if you do not. If you’re using UTM with a ?, it truly is a parameter, so it shouldn’t be redirected. We suggest using the # based UTM links or creating RegEx redirects.


If your redirects are not working please try clearing all your cache. Such as from your theme, plugin, server, CDN like CloudFlare or browser.

If you are not sure how to clear caching from theme/plugin please speak to those authors/CDNs. If you want to clear cache from the server, please speak to your host provider.

To clear the cache from a browser use this guide: