Blog

WEBFI-WordPress-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:

https://wordpress.org/plugins/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:

https://wordpress.org/plugins/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:

https://wordpress.org/plugins/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
http://twitter.com/wpbeginner

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

source

20 Comments

  • imran ahmed on August 19, 2020

    Thanks… I want to add www to my wordpress site. Can you please help me with this?

  • Madushan Serasinghe on August 26, 2020

    Wow. Thanks its work

  • Cat Plus on October 1, 2020

    Hello , i want to know redirects URL website to inbox facebook fanpage or line@.
    Can make it?

  • Alias Alias on November 25, 2020

    This helped me so much

  • Alias Alias on November 29, 2020

    now I want to add a header image above the menu bar how would I do that on my current theme because when I add a header in customize it puts the header image below the menu bar

  • Frank Design on December 1, 2020

    Thank you so much, really quick and easy.

  • Daya Graphics on December 1, 2020

    Thank you

  • Luan Montenegro on December 19, 2020

    How to do that ONLY for mobiles?

  • KnoWorld on December 26, 2020

    very useful information. How to redirect people to a new webpage after form Subscription in WordPress? Plz tell me.

  • Shai Milikowski on January 3, 2021

    you are so good thank you

  • Sly J on January 16, 2021

    Informative video!

    I'm new to WordPress, but is it possible to put forwarding links from other webshops on your own webshop? I want people to directly go to the store that sells the product i'm displaying once they hit that buy button on my webshop

  • ConsumerQueen on March 5, 2021

    My problem that i worry about is using a plugin because you have to KEEP that plugin now on your site. I don't want to have to rely on a plugin that might or might not stay updated forever. I didn't realize this until I redirected 18 posts using the "redirect plugin" just something to think about.

  • Andrew Hewing on April 3, 2021

    Very clear and concise. Thank you!

  • Abigail Joy Inciong on April 5, 2021

    Love how you posted many types on how to do this including the htaccess part.
    Please do more tutorials on SEO
    Thank you!!

  • Im Bhumi on April 10, 2021

    page link doesn't works . Anybody can help me

  • CreativeSoulTV on May 3, 2021

    Thanks for the video, I'm trying to make a mobile redirect for my website with CloudFlare and my host provider in the C-Panel, will this work or do you have any videos or suggestions? – Thanks!

  • Digital Art Envy on May 10, 2021

    do i really need to pay $320 a year to redirect my website :/ to install plugins in wordpress it is requireing me to upgrade to business plan

  • Uzo Design on August 28, 2021

    @WPBeginner – WordPress Tutorials I started having URL Redirect problem before installing any of the mentioned plugins. Now even though I have redirection installed it doesn't fix the issue. Please help.

  • Coaching with Deise on September 3, 2021

    Thank you for this! Just what I needed.

  • Raphael on December 6, 2021

    worked for me, thanks!

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
loading
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy

 

 

error: WEBFINET SECURITY IS ON