In this tutorial, we will show you how to redirect a link. First, you need to activate the Redirections Plugin. Redirection Plugin is a tool to manage 301 redirections, keep track of 404 errors, and fix loose ends. This can help reduce errors and improve your site ranking.
1. Activate the Plugin
You can go to Redirection menu under Tools > Redirection if you already activate the plugin.
If you do not have the Redirection menu, you can activate the plugin with:
- Go to the Plugins page in your site,
- Click Add New,
- Type "Redirection" into the search box and
- Click Install Now
For more information to activate the plugin, you can see this tutorial
2. Adding a Redirection
Use the ‘add new redirection’ form in the Redirect menu to create a new redirect. In that form, you need to enter a source URL (the URL you are redirecting from) and a target URL (the URL you are redirecting to).
The source URL is always relative to your site. This means, for example, if the URL you want to redirect from is https://myexample.com/my-old-url
and Redirection is installed on https://myexample.com
then the source is /old-url
– it is relative to your domain.
If you try and enter a full URL with domain name then Redirection will remove the domain and just use the relative URL.
The target can be any URL, relative or otherwise.
In this tutorial, I will show you how to redirect: the /contact-us to /lets-connect
Setting up the Redirection:
Before Redirection:
After Redirection: