HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog


How to create a site/domain redirect in cPanel

  • Category : cPanel Question
  • Posted on : Jan 13, 2022
  • Views : 1,096
  • By : HostSEO

You can create the redirect for your domain in your cPanel. In order to do it, perform the following actions:

for cPanel paper_lantern theme
for cPanel x3 theme

for cPanel paper_lantern theme:

1. Log into your cPanel.
2. Navigate to the Domains section and click on the Redirects option:

3. Choose the type of redirect you would like to use for your domain:

  • Permanent (301): this redirect will update the visitors' bookmarks and direct search engines to the new site.
  • Temporary (302): it will redirect the visitor or search engine, but will not update the bookmark and the search engine will continue to index to the original page.

NOTE: 301 redirects are permanent. They mean that the page has moved, and they request any search engine or user agent coming to the page to update the URL in their database. This is the most common type of redirect that people should use. If you set up 302 redirects, Google and other sites that determine popularity ratings assume that the link is eventually going to be removed. After all, it's a temporary redirect. So the new page doesn't have any of the link popularity associated with the old page. It has to generate that popularity on its own.

4. From a drop-down menu, choose the domain name you would like to redirect:

If you want to redirect a single page or directory, you can use the text field following the drop-down menu and enter the name of the folder or file.

5. Enter the full URL of the page your domain will be redirecting to in the Redirects to field.

NOTE: You need to enter the protocol as well, e.g., http://, https://

6. Select if you want your domain to redirect with www. or not:

  • Only redirect with www.: The redirect will work if only visitors are using www. as a part of the URL.
  • Redirect with or without www.: The redirect will work regardless of using www. as a part of the URL or not.
  • Do Not Redirect www.: The redirect will not work if visitors are using www. as a part of the URL.

7. Check Wild Card Redirect if you would like all files in the current directory to be redirected to the same files names in the new directory.

Example: If example.com redirects to example-test.com, then:

  • with Wild Card Redirect: example.com/test/ redirects to example-test.com/test/
  • without Wild Card Redirect: example.com/test/ redirects to example-test.com

Click on the Add button in order to create the redirect.

for cPanel x3 theme:

1. Log into your cPanel.
2. Navigate to the Domains section and click on the Redirects option:

3. Choose the type of redirect you would like to use for your domain:

  • Permanent (301): this redirect will update the visitors' bookmarks and direct search engines to the new site.
  • Temporary (302): it will redirect the visitor or search engine, but will not update the bookmark and the search engine will continue to index to the original page.

NOTE: 301 redirects are permanent. They mean that the page has moved, and they request any search engine or user agent coming to the page to update the URL in their database. This is the most common type of redirect that people should use. If you set up 302 redirects, Google and other sites that determine popularity ratings assume that the link is eventually going to be removed. After all, it's a temporary redirect. So the new page doesn't have any of the link popularity associated with the old page. It has to generate that popularity on its own.

4. From a drop-down menu, choose the domain name you would like to redirect:

If you want to redirect a single page or directory, you can use the text field following the drop-down menu and enter the name of the folder or file.

5. Enter the full URL of the page your domain will be redirecting to in the Redirects to field.

NOTE: You need to enter the protocol as well, e.g., http://, https://

6. Select if you want your domain to redirect with www. or not:

  • Only redirect with www.: The redirect will work if only visitors are using www. as a part of the URL.
  • Redirect with or without www.: The redirect will work regardless of using www. as a part of the URL or not.
  • Do Not Redirect www.: The redirect will not work if visitors are using www. as a part of the URL.

7. Check Wild Card Redirect if you would like all files in the current directory to be redirected to the same files names in the new directory.

Example: If example.com redirects to example-test.com, then:

  • with Wild Card Redirect: example.com/test/ redirects to example-test.com/test/
  • without Wild Card Redirect: example.com/test/ redirects to example-test.com

Click on the Add button in order to create the redirect.

This is it!

Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar

SatSunMonTueWedThuFri
 123456
78910111213
14151617181920
21222324252627
28293031 

Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional