Control Panels

How to Redirect a Web Page Using cPanel?

Whether you want to transfer the benefits of your existing domain or just shift a couple of pages you can use redirects to do this easily. And also get the benefits in terms of search engine rankings by getting the rankings of the old domain to the new one.

You can use Redirects to make a webpage display another page to the viewer.

What is a Redirect?

Using the Redirect feature you can redirect a specific web page to another web page. The redirected web page would take the user to the intended web page and display the content on that page. This also useful for making a web page with a long URL accessible by redirecting it to a shorter URL that easily remembered by visitors.

With the help of this tutorial, you can also set redirects for desired web pages to redirect the visitor to the web page of your choice.

Follow these simple steps to set redirects on your website:

Step 1. Login to your cPanel account.

Step 2. Scroll down to the ‘Domains’ section and click on the Redirects icon.

cPanel Redirects

Step 3. Choose the domain and directory you wish to redirect and enter the desired web page. Which you want to redirect it to.

Step 4. Select the kind of redirect you want e.g. Permanent 301 or Temporary 302. The difference between the two given below.

Types of Redirects

Permanent Redirect (301)

A Permanent redirect would be used when you want to redirect the page to another web page permanently. Using a Permanent redirect would also inform the visitor’s browser to update the URL if it bookmarked.

Temporary Redirect (302)

Temporary redirects used for redirecting a web page for time being and you want the search engines to give preference to both pages. And a Temporary redirect would also not update any bookmarks of the visitors.

type of redirects

Step 5. Then you can choose the type of WWW redirection you want and if you want a Wildcard redirect then check the box as well.

Note: Wild Card Redirect will redirect all files within a directory to the same filename in the redirected directory.

You cannot use a Wild Card Redirect to redirect your main domain to a different directory on your site.

Step 6. Now, just click on the ADD button and you see the confirmation that the web page is redirected to the mentioned web page.

You can now press GO BACK and see the list of Redirects and also remove the redirect if you wish to at any point in time.