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



Beginner"s Guide to Creating Redirects in WordPress#beginnersguidetowordpress

Comments