How to Redirect a Post from the Edit Post Screen

Did you know you can set a redirect right from the AIOSEO Settings when you're editing any content?

There are two ways to redirect content on your site:

Here's how to easily add a redirect from the AIOSEO Settings on and post or page.

Adding a Redirect

To get started, edit any content and click on the Redirects tab in the AIOSEO Settings section.

Redirects tab in AIOSEO Settings on the Edit Post screen

You'll see the same settings as you'd see in the Redirection Manager, except that the Source URL is already populated with the URL for your post or page.

To redirect this post or page, enter the URL you want to redirect to in the Target URL field. The URL can be either a relative URL or an absolute URL.

Target URL field in the Add New Redirection form

You can also start typing the title of any post, page or other content on your site, or the slug or ID in the Target URL field and the matching content will be displayed. Click on the post or page you want to select as your target.

In the Redirect Type drop down, select the type of redirect you want. The two most common are:

  • 301 Moved Permanently: Use this if you want to permanently redirect the old URL because the content has been deleted or moved.
  • 307 Temporary Redirect: Use this if you only want to temporarily redirect the old URL.
Redirect Type drop down in the Add New Redirection form

Click the Add Redirect button to add your redirect.

Add New Redirection form completed with target URL

The redirect will be shown in the table. There's a toggle in the Enabled column if you want to disable it without deleting it.

Redirect shown in the AIOSEO Settings on the Edit Post screen

Testing, Editing and Deleting a Redirect

You can test that the redirect is working by mousing over the source URL and clicking on the Check Redirect link.

Check Redirect link in the AIOSEO Settings on Edit Post screen

You can edit a redirect by mousing over the source URL and clicking on the Edit link.

Edit link in the AIOSEO Settings on Edit Post screen

You can delete a redirect by mousing over the source URL and clicking on the Delete link.

Delete link in the AIOSEO Settings on Edit Post screen

Advanced Settings

The additional settings on the Redirects tab are the same as the features in the Redirection Manager. You can find documentation on each of these here:

Check out more documentation on our Redirection Manager here.