Redirects are a useful tool to use when you would like to divert traffic to a different URL (web address). By making use of redirects, your visitors are able to find your web pages at the new location as the URL changes automatically.
There are SEO benefits to making use of redirects as they help search engines to bookmark the changes you have made to the destination URL. Redirects can be permanent or temporary. For example, if you are running a competition for a limited period of time, your visitors can be directed to a temporary site.
If your business name or domain name has changed, you will make use of a permanent redirect. This way your customers can find your new website even if your old website address has been bookmarked or referenced elsewhere.
There are four ‘types’ of redirects available in konsoleH:
- Permanent redirect: this returns a permanent redirect status (301) indicating that the resource has moved permanently.
- Temp redirect: this returns a temporary redirect status (302). This is the default.
- Seeother redirect: this returns a ‘See Other’ status (303) indicating that the resource has been replaced.
- Gone redirect: this returns a ‘Gone’ status (410) indicating that the resource has been permanently removed.
To setup a redirect via konsoleH:
- Browse to konsoleH and log in at Admin or Domain level
- Admin level -- Select or search for a domain name in the ‘Hosting Service’ tab
- Select ‘Manage Services’ from the left-hand menu
- Select ‘Webserver Config’
- Select ‘Redirects’
- Select the type of Redirect from the drop-down list
- Specify the folder to point to
- Specify the URL to redirect to
If you would like to redirect your entire domain eg. example.co.za to another domain eg. mydomain.co.za, you may use the following options within the ‘Redirects’ tool:
Local Folder: /
The forward slash indicates which page is to be redirected. A forward slash on its own will indicate the entire domain is to be directed from the ‘old’ URL to the ‘new’ URL.
If you would like to redirect a specific page on your website you would use / (forward slash) followed by the folder name. Eg: /contacts
Destination: Copy and paste the destination URL. In this example, it would be https://mydomain.co.za/
If you are making use of WordPress, you can install a plugin to set up your redirects. We recommend using Yoast SEO.
To set up a redirect in WordPress using Yoast SEO:
- Login to your WordPress dashboard
- On the left hand side select SEO and from the menu that appears, select Redirects
- Select the redirect type from the dropdown
- Copy and paste the old URL
- Copy and paste the new URL
- Select Add Redirect
It is important to note that if you disable the plugin you have used to set up your redirects, your redirects will no longer be functional.
Be sure to test your redirect(s) after saving the changes made to ensure they are working correctly.