How to redirect URLs with your hosting account

If you’d like to automatically send visitors from your website to another destination, such as a different webpage on your server or an alternative website, you can do so using cPanel.

Log in to the HostPapa Dashboard and select My cPanel from the top navigation menu. In the Domains section, click Redirects.

cPanel

Redirects can be permanent (known as 301 redirects) or temporary (302 redirects). Selecting the correct type of redirection is important for search engine optimization (SEO). If you wish to point your domain elsewhere temporarily while you work on its design or content, use a 302 temporary redirection. If the link is permanent, select the appropriate option from the Type dropdown menu.

Redirect settings

Below, use the https?://(www.)? dropdown menu to select the domain or sub-domain you wish to redirect.

Domain selection

The text box next to / can be used to enter a path (such as /mypages, for example) for redirections below the domain or subdomain root.

Patch creation

Enter the URL you wish your rule to redirect traffic to in the Redirects to text box.

The radio buttons under www. redirection allow you to customize your redirection rule. You can choose to redirect addresses with or without the www prefix and choose a Wild Card Redirect, which will redirect all files within a directory to the same filename in the redirected directory. Note that you cannot use a Wild Card Redirect to redirect your main domain to a different directory on your site.

Click Add to save your redirection settings.

For more details and to investigate other methods of redirection, read the following HostPapa support pages:

For further questions, or if you need help, please open a support ticket from your HostPapa Dashboard. Follow this link to learn how.

Was this article helpful?

Related Articles

Leave A Comment?