{"id":6238,"date":"2021-05-21T13:07:42","date_gmt":"2021-05-21T13:07:42","guid":{"rendered":"https:\/\/oxhosting.com\/blog\/2021\/05\/21\/how-to-create-a-site-domain-redirect-in-cpanel-hosting\/"},"modified":"2021-05-21T13:07:42","modified_gmt":"2021-05-21T13:07:42","slug":"how-to-create-a-site-domain-redirect-in-cpanel-hosting","status":"publish","type":"post","link":"https:\/\/oxhosting.com\/blog\/2021\/05\/21\/how-to-create-a-site-domain-redirect-in-cpanel-hosting\/","title":{"rendered":"How to create a site\/domain redirect in cPanel &#8211; Hosting"},"content":{"rendered":"<p> <script data-ad-client=\"ca-pub-3214842754935876\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<\/p>\n<div id=\"article\">&#13;<\/p>\n<p style=\"text-indent: 25px;\">You can create the redirect for your domain in your cPanel. In order to do it, perform the following actions:&#13;<br \/>\n&#13;<br \/>\n&#13;\n<\/p>\n<p><b>for cPanel paper_lantern theme<\/b><br \/><b>for cPanel x3 theme<\/b><\/p>\n<p><b>for cPanel paper_lantern theme:<\/b><\/p>\n<p>1. Log into your cPanel.&#13;<br \/>\n<br \/>2. Navigate to the <b>Domains<\/b> section and click on the <b>Redirects<\/b> option:&#13;\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>3. Choose the type of redirect you would like to use for your domain:&#13;<br \/>\n&#13;<br \/>\n    <b><br \/><\/b><\/p>\n<p>&#13;<\/p>\n<ul>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Permanent (301):<\/b> this redirect will update the visitors&#8217; bookmarks and direct search engines to the new site.<\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Temporary (302):<\/b> 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.&#13;\n<\/li>\n<p>&#13;\n\t\t<\/ul>\n<p>&#13;<\/p>\n<p style=\"text-indent: 25px;\">&#13;<br \/>\n\t\t\t\t<br \/>&#13;<br \/>\n\t\t\t\t<b>NOTE:<\/b> 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&#8217;s a temporary redirect. So the new page doesn&#8217;t have any of the link popularity associated with the old page. It has to generate that popularity on its own.&#13;\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602460_577_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>4. From a drop-down menu, choose the <b>domain name<\/b> you would like to redirect:&#13;\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602460_868_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>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.&#13;<br \/>\n&#13;\n<\/p>\n<p>5. Enter the full URL of the page your domain will be redirecting to in the <b>Redirects to<\/b> field.&#13;\n<\/p>\n<p><b>NOTE:<\/b> You need to enter the protocol as well, e.g., http:\/\/, https:\/\/&#13;<br \/>\n&#13;\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602460_199_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>6. Select if you want your domain to redirect with www. or not: <\/p>\n<p>&#13;<\/p>\n<ul>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Only redirect with www.:<\/b> The redirect will work if only visitors are using www. as a part of the URL. <\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Redirect with or without www.:<\/b> The redirect will work regardless of using www. as a part of the URL or not.<\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Do Not Redirect www.:<\/b> The redirect will not work if visitors are using www. as a part of the URL.&#13;<br \/>\n&#13;\n<\/li>\n<p>&#13;\n\t\t<\/ul>\n<p>&#13;<\/p>\n<p style=\"text-indent: 25px;\">&#13;<br \/>\n\t\t\t\t<br \/>&#13;<br \/>\n\t\t\t\t<img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602460_610_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/>&#13;\n\t\t\t\t<\/p>\n<p>7. Check <b>Wild Card Redirect<\/b> if you would like all files in the current directory to be redirected to the same files names in the new directory.&#13;<br \/>\n&#13;\n<\/p>\n<p><b>Example:<\/b> If example.com redirects to example-test.com, then: <\/p>\n<p>&#13;<\/p>\n<ul>&#13;<\/p>\n<li>with <b>Wild Card Redirect:<\/b> example.com\/test\/ redirects to example-test.com\/test\/<\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\twithout<b> Wild Card Redirect:<\/b> example.com\/test\/ redirects to example-test.com&#13;\n<\/li>\n<p>&#13;\n\t\t<\/ul>\n<p>&#13;<\/p>\n<p style=\"text-indent: 25px;\">&#13;<br \/>\n\t\t\t\t<br \/>&#13;<br \/>\n\t\t\t\t<img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602460_431_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/>&#13;\n\t\t\t\t<\/p>\n<p>Click on the <b>Add<\/b> button in order to create the redirect.&#13;<br \/>\n&#13;\n<\/p>\n<p><b>for cPanel x3 theme:<\/b><\/p>\n<p>1. Log into your<b> cPanel<\/b>.<br \/>2.<b\/> Navigate to the <b>Domains<\/b> section and click on the <b>Redirects<\/b> option: &#13;\n\t\t\t\t<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602461_255_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>3.<b\/> Choose the type of redirect you would like to use for your domain:&#13;<br \/>\n<\/p>\n<p>&#13;<\/p>\n<ul>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Permanent (301):<\/b> this redirect will update the visitors&#8217; bookmarks and direct search engines to the new site.<\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Temporary (302): <\/b>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.  &#13;<br \/>\n&#13;<br \/>\n\t\t\t\t<\/li>\n<p>&#13;\n\t\t<\/ul>\n<p>&#13;<\/p>\n<p style=\"text-indent: 25px;\">&#13;<br \/>\n\t\t\t\t<br \/>&#13;<br \/>\n\t\t\t\t<b>NOTE: <\/b>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&#8217;s a temporary redirect. So the new page doesn&#8217;t have any of the link popularity associated with the old page. It has to generate that popularity on its own.<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602461_109_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>4.<b\/> From a drop-down menu, choose the <b>domain name <\/b>you would like to redirect: &#13;\n\t\t\t\t<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602461_924_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>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. <\/p>\n<p>5. <b\/>Enter the full URL of the page your domain will be redirecting to in the <b>Redirects to<\/b> field. <\/p>\n<p><b>NOTE: <\/b>You need to enter the protocol as well, e.g., http:\/\/, https:\/\/ &#13;\n\t\t\t\t<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602461_872_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/><\/p>\n<p>6.<b\/> Select if you want your domain to redirect with www. or not:&#13;<br \/>\n<\/p>\n<p>&#13;<\/p>\n<ul>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Only redirect with www.:<\/b> The redirect will work if only visitors are using www. as a part of the URL.<\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Redirect with or without www.: <\/b>The redirect will work regardless of using www. as a part of the URL or not.\u00a0<\/li>\n<p>&#13;<\/p>\n<li>&#13;<br \/>\n\t\t\t\t\t\t<b>Do Not Redirect www.:<\/b> The redirect will not work if visitors are using www. as a part of the URL. &#13;<br \/>\n\t\t\t\t<\/li>\n<p>&#13;\n\t\t<\/ul>\n<p>&#13;<\/p>\n<p style=\"text-indent: 25px;\">&#13;<br \/>\n\t\t\t\t<br \/>&#13;<br \/>\n\t\t\t\t<img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602461_778_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/>&#13;\n\t\t\t\t<\/p>\n<p>7. Check<b> Wild Card Redirect<\/b> if you would like all files in the current directory to  be redirected to the same files names in the new directory.&#13;<br \/>\n&#13;<br \/>\n<br \/><b><br \/>Example:<\/b> If example.com redirects to example-test.com, then:&#13;<br \/>\n&#13;<br \/>\n    <\/p>\n<p>&#13;<\/p>\n<ul>&#13;<\/p>\n<li>with<b> Wild Card Redirect:<\/b>  example.com\/test\/ redirects to example-test.com\/test\/<\/li>\n<p>&#13;<\/p>\n<li>without<b> Wild Card Redirect:<\/b> example.com\/test\/ redirects to example-test.com &#13;<br \/>\n\t\t\t\t<\/li>\n<p>&#13;\n\t\t<\/ul>\n<p>&#13;<\/p>\n<p style=\"text-indent: 25px;\">&#13;<br \/>\n\t\t\t\t<br \/>&#13;<br \/>\n\t\t\t\t<img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621602461_213_How-to-create-a-sitedomain-redirect-in-cPanel-Hosting.png\"\/>&#13;\n\t\t\t\t<\/p>\n<p>Click on the <b>Add<\/b> button in order to create the redirect.<\/p>\n<p>\u00a0This is it!&#13;\n<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Need any help? Contact us via Helpdesk<b\/><\/p>\n<p>&#13;<br \/>\n\t\t&#13;<br \/>\n\t\t<b>&#13;<br \/>\n\t\t<\/b>&#13;\n<\/div>\n<script data-ad-client=\"ca-pub-3214842754935876\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>&#13; You can create the redirect for your domain in your cPanel. In order to do it, perform the following actions:&#13; &#13; &#13; for cPanel&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/6238"}],"collection":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=6238"}],"version-history":[{"count":0,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/6238\/revisions"}],"wp:attachment":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=6238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=6238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=6238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}