There a lot of reasons to redirect URLs. Some reasons are -
- You have just changed your domain name and you want some redirections.
- You have just changed your post permalinks and want to redirect old URL to new URL.
- You want to fix 404 page errors.
- You want to fix ‘Not found’ errors in Google Webmaster tools.
- You need a short and user-friendly URLs.
- You want to hide your affiliate links and many more.
By default WordPress doesn’t have any option to manage redirections. Fortunately there are few plugins that can handle URL redirection for you. Among them I like Redirection plugin most because of its various features. You don’t need to know anything about .htaccess file to use this plugin.
Setting Up Redirection Plugins
Once you have installed and activated the plugin, you will get the plugin’s option under the Tools section of your WordPress dashboard. Just go to Dashboard > Tools > Redirection.
Then you will find ‘Add new redirection‘ option to redirect old URL to new URL.
There are some confusing options here. But don’t worry. If you want to do a simple redirection then you don’t need to do any thing with that options.
Just enter your URL which you want to redirect to a new one on the ‘Source URL‘ box and put your destination URL on the ‘Target URL‘ box. Then click on ‘Add Redirection’ button.
To make sure that it works, go to old URL and check if that redirects to the new URL.
That’s all about the URL redirection.
Now I would like to show you some other features of this plugin.
If you are going to do a lot of redirects, then you should consider using Groups to make several groups. For example, you are going to hide some affiliate links (Using Yourdomain.com/product rather than Affiliatesite.com/product). It is better to make a new group for your affiliate links.
Just click ‘Groups’ from header of the plugin’s option.
You can add and manage your groups there. To add a new group, type the name of your group name on the Name box and click on ‘Add’.
To add redirects on a specific group, click on the group and enter redirections.
Logs ( Fixing 404 errors)
Logs option tracks the 404 errors. It contains a list of 404 errors that your site is getting. You can redirect those to another location. Just click on the green plus icon from the right side and enter the target URL.
You can also figure out the IPs that are trying to attack your blog.
If you are getting a lot of 404 errors like me, then you should consider using Google Webmaster tools to find and fix the 404 errors.
To make sure that this plugin doesn’t slow down your site, there are some settings to configure in options panel.
If you don’t need to log redirect and 404 request, then you can uncheck the boxes under Logging. If you keep the boxes check, make sure that you set 30 days in ‘Expire Logs’ box.
And click on ‘Update’
If you need more help about the plugin you check the plugin’s developer page.
So that’s all about the Redirection Plugin. If you are using this plugin then share your experiences with us. If not, which plugin are you using for redirection? Don’t forget to join our newsletter to get regular updates.