Set up the Redirection plugin
For managing redirects on your blog, we recommend using the Redirection plugin. We have listed below the steps for the installation and configuration of the plugin.
Head over to the plugin install page from within your WordPress admin panel and search for redirection in the plugins search box as shown in the image below.
Once installed and activated, the next step is to configure the plugin properly. The settings panel for the redirection plugin can be found under the Tools menu. Your menu might be a bit different from the reference image but that’s because of the installed plugins. No matter what, the link for the Redirection settings panel will always be there.
Within the plugin’s settings panel, click on the Options link from the top menu and scroll down to the Apache Module option which by default shows the path that we need for configuring. Note down the path. It will be something similar to this – /var/www/YOUR_DOMAIN_NAME/public_html.
Now, all you need to do is to append /.htaccess at the end of the path which will make the path to something like this – /var/www/YOUR_DOMAIN_NAME/public_html/.htaccess.
Important: Do not forget to replace YOUR_DOMAIN_NAME in the above path with your domain name (and it must not include https and/or www).
And lastly, click on the Update button to save the changes.