Published on June 18, 2018 by WPBeginner

Are you wanting to create a redirect on your WordPress site and not sure how to do so? Redirects send a browser from one location to a new one by telling the user’s browser that the page has been moved and it should automatically point them to the new location. There are many types of redirects available but for this, we will be covering 301 or permanent redirect. In this video, we will show you how to create a redirect in WordPress.

If you do not know how to install plugins you would want to take a look at our article on how to do so:

www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/

For the first method, we will be using the redirection plugin found here:

Redirection

With the redirection plugin active you would go under Tools, Redirection to set up the redirects that you want. The plugin even helps you find 404s on your site so you can easily redirect those to the correct location.

A second plugin to try would be the plugin Page Links to found here:

Page Links To

With the Page Links to plugin, you would go to edit one of your pages or posts and there will be a new meta box in the edit screen where you can enter the address of the new location to send your visitors.

We do not recommend multiple redirect plugins at the same time, only use the one you prefer best. For a third and final plugin option, you could use the Simple 301 Redirects plugin found here:

Simple 301 Redirects

With the plugin active you should be able to go to Settings, 301 Redirects and add your URLs to the options page. The first box requests path to what you are wanting to be redirected and the second box requires the full link and not just a path.

Should you prefer not to use a plugin you would want to use FTP to find the .htaccess file on your server. For how to use FTP you would want to take a look at:

www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/

Download the current .htaccess and rename it to something like .htaccess.old in case there is an error with your new one. Edit the htacess with your preferred text editor and a redirect should look similar to:

RewriteEngine On
Redirect 301 /a-very-old-post/ yoursite.com/a-very-new-post/

With the code added to your .htaccess file, upload it back to your hosting for it to take effect.

Text version of this tutorial
www.wpbeginner.com/beginners-guide/beginners-guide-to-creating-redirects-in-wordpress/

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook
www.facebook.com/wpbeginner

Follow us on Twitter
twitter.com/wpbeginner

Check out our website for more WordPress Tutorials
www.wpbeginner.com

Leave a Reply

8 Comments on "Beginner’s Guide to Creating Redirects in WordPress"

Notify of
avatar

Talent Hounds
Guest
Talent Hounds
16 days 4 hours ago

Thanks for this. I have an issue with all my URLs as they include the categories so I can't change the categories, some of which I now realize make no sense. Would it be possible to do a widespread 301 redirect for example all of a category?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
15 days 4 hours ago
steve cooper
Guest
steve cooper
27 days 15 hours ago

Hi Do you do a redirect using Yoast for there SEO snippets section

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
27 days 5 hours ago

If you purchased Yoast premium to use their redirects you would want to take a look at: yoast.com/wordpress/plugins/seo/redirects-manager/

subodh space
Guest
subodh space
28 days 12 hours ago

Whenever i crawl my post url in google search console, it showing ❗redirected (301 moved permanently). Is that a issue? How to fix this?

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
28 days 1 hour ago

You would want to double check that you do not have a plugin that would be creating redirects and if not you would check your htaccess and that would be where the redirects are being created.

subodh space
Guest
subodh space
28 days 5 hours ago

WPBeginner – WordPress Tutorials but how can i fix this? I mean my domain url seems okay and i didn't use any redirect plugin then suddenly what changed? 1 month ago all was good. Please check and suggest if possible.www.gadgetheadline.com

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
28 days 5 hours ago

It would only be an issue if you did not set it up. Otherwise, it is letting you know that an old link is being redirected to a new location.

wpDiscuz