The cPanel control panel comes integrated with some pretty nice tools and many have a wide range of purposes. The redirect feature is one that can be used in multiple instances. It can be quite useful for someone who is updating their site or moving from folder to folder. Redirects are often set up so visitors can use shorter URLs, and because they can be pointed to another site or domain altogether, they are also used by affiliate marketers who are redirecting traffic for their advertisers.
In cPanel, you can set any one of your domains or subdomains to point to another location on your website. For example, if you want your homepage to point to your support page for a particular reason, you can set up a redirection and have it point to yoursite.com/support.html or whatever URL you deem best meets your specific needs. Setting up domain redirects is easy and this tutorial will show you how to perform these actions in cPanel.
Creating a Redirect
After logging into your cPanel account, locate and click on the “Redirects” icon under the “Domains” category.
On the Redirects main page, you will see a drop-down menu that gives you the option of setting the type of redirect. This can be set to either Temporary Redirect or Permanent Redirect.
The Temporary Redirect setting tells Internet Service Providers that the action is only temporary and traffic may return to the original domain in the future.
Permanent Redirect tells Internet Service Providers that the redirect is permanent. When choosing this option, the system will automatically forward ISPs the new domain name.
- Simply make the appropriate selection for your domain from the drop-down box.
- From there, choose the domain you want to redirect from the next drop-down box and underneath it, type in the URL you want the domain redirected to.
You will then see options for a “www redirection”. Your options are as follows:
- Only redirect with .www
- Redirect with or without .www
- Do Not Redirect .www
- Wildcard Redirect
You can choose to redirect your domain with or without the www prefix but you must manually add a protocol such as “http” into the text field.
Keep in mind that checking the Wild Card Redirect option will redirect all files within a particular directory to the exact same filename in the redirected directory. Additionally, you can’t use the Wildcard option to redirect your primary domain to a different directory on your website.
- After making the appropriate selection, click on the “Add” tab.
On the next page, you will see a confirmation displaying information on the which URL is pointing to what domain. To go back and manage your redirects, click on “Go Back” link.
Managing your Redirects
Back on the Redirects main page, navigate to the bottom of the page and you will see information on your “Current Redirects”. There will be information on your domain, directory, redirect URL and www. match status. There will also be an icon that allows you to remove the redirect from the system.
You can also manage your redirection from the Subdomains main page. In the corresponding table, click on “Manage redirection” and make the changes that best suit your needs.
|« Web Hosting Special Features Comparison Chart||Setting up Parked Domains in cPanel »|