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!
Categories
- cPanel Question 47
- cPanel Software Management 29
- cPanel Tutorials 13
- Development 29
- Domain 13
- General 19
- Linux Helpline (Easy Guide) 156
- Marketing 47
- MySQL Question 13
- News 2
- PHP Configuration 14
- SEO 4
- SEO 42
- Server Administration 84
- SSL Installation 54
- Tips and Tricks 24
- VPS 3
- Web Hosting 44
- Website Security 22
- WHM questions 13
- WordPress 148
Subscribe Now
10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!Archive Calendar
Sat | Sun | Mon | Tue | Wed | Thu | Fri |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Recent Articles
-
Posted on : Sep 17
-
Posted on : Sep 10
-
Posted on : Aug 04
-
Posted on : Apr 01
Tags
- ts
- myisam
- vpn
- sql
- process
- kill
- tweak
- server load
- attack
- ddos mitigation
- Knowledge
- layer 7
- ddos
- webmail
- DMARC
- Development
- nginx
- seo vpn
- Hosting Security
- wireguard
- innodb
- exim
- smtp relay
- smtp
- VPS Hosting
- cpulimit
- Plesk
- Comparison
- cpu
- encryption
- WHM
- xampp
- sysstat
- optimize
- cheap vpn
- php-fpm
- mariadb
- apache
- Small Business
- Error
- Networking
- VPS
- SSD Hosting
- Link Building
- centos
- DNS
- optimization
- ubuntu