Have you ever tried redirecting WordPress? You might not know what a redirect is and what is it for?

Don't worry, in this tutorial, I will tell you everything you need to know about WordPress redirects, what it consists of, how to implement it on your blog and when to implement this on your blog.

Redirect image

What is a redirect?

A redirect is a way for your server to send a message to your browser telling it that the page being opened has been moved, then the browser can automatically point to this new page.
There are several types of redirection: 301, 302, 307, etc.

However, for this article is simple, I only tell you of 301 redirects, as these are the most important.

When do you need to use a 301 redirect on WordPress

The first reason is that 301 redirects are used when a page of your blog or your blog has moved completely, and you want to redirect the visitor to this new location.

More concretely :

  • You can create a redirect when you plan to delete an article / page for better content (a new article example)
  • You need to use redirects when you plan to change the structure of your permalinks.

Why is this needed? Quite simply because by not creating a redirect, your subscribers will access a 404 page (or Page Not Found) if the article has been deleted, but also and above all because this will have a bad impact on the SEO.

This is where the 301 redirect becomes very important.

How to create a redirection on WordPress

The easiest approach to creating and managing 301 redirects is done using a WordPress redirect plugin. This allows you to configure redirects without writing a line of code.

1. redirection

It is a simple to use plugin that allows you (as a custom publication format) to administer your different redirections. Once the plugin is installed, navigate to the location “ Tools> Redirects To configure your redirects.

Download the plugin

Redirect-plugin-wp

This plugin not only allows you to configure redirects, but it also allows you to find 404 errors on your blog. You will be able to redirect these different addresses to another location.

2. Page Links

Sometimes you will finally have to keep an article / page but redirect to another article / page. This is where the "Page links" plugin will help you. This simple plugin will add a meta box in the article writing interface where you can add an address and a new location to send your subscribers.

Download

page-links-to

3. Single 301 redirects

Here's another way to perform 301 redirects. As the name might suggest, this plugin does simple redirects. After installing it, you will need to navigate to the location " settings> 301 redirects To add your URLs

single-301-redirects

Now, after setting up your redirects, you will notice new changes on the various affected pages. Depending on your accommodation, your redirects will be fast or slow.

That's all there is to know about creating redirects in WordPress. Feel free to share this article with your friends on your favorite social networks.