Beginner's Guide to Creating Redirects in WordPress



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:

http://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:

http://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/ http://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
http://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
https://www.facebook.com/wpbeginner

Follow us on Twitter

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

source

24 thoughts on “Beginner's Guide to Creating Redirects in WordPress”

  1. I have a menu point on my website, that redirects to another website. Is it possible to make a link on my website, that I can share, gives me the traffic AND redirects to the other website? Difficult to explain, but I hope you got the point.

  2. When using the 301 plugin can I have the redirects to a new domain?

    For context I have a particular category of my existing blog that I want to create an entire dedicated website on by moving/redirecting the posts from the old site.

    And does this have any negative implications on SEO on the old site? Thanks 🙏🏼

  3. Outstanding Delivery of Vocal Content Expression and Subject matter. I can actually follow you and YOur choice of words along with the perfect speed of talk are easy to "Get". YOu have a tone of calmness and upbeat expression to keep our Attention. Simply the best Tutorials of All-Time. I'm sold on learning from you. I "Get it" and especially with several choices to choose from is Excellent !!!…………….Scotty B ♫

  4. Hello how do i redirect all my pages to my new domain with .info extension my .com domain is being blocked i dont know why i have redirected my home page but all the other urls are giving 404 error .please help ?

  5. 2 Questions:
    1.) If I want to redirect multiple pages to another page: Do I always have to add a new "rewrite engine on" or do I just place the next 301 below the other
    2.) how would the rule be if I want to redirect to the homepage? Redirect 301 /old-post/ http://www.mysite.com/

Leave a Reply

Your email address will not be published. Required fields are marked *