{"id":489,"date":"2024-09-12T10:40:54","date_gmt":"2024-09-12T10:40:54","guid":{"rendered":"https:\/\/www.trichywebhosting.com\/tutorials\/?p=489"},"modified":"2024-09-12T10:45:50","modified_gmt":"2024-09-12T10:45:50","slug":"domain-redirect","status":"publish","type":"post","link":"https:\/\/www.trichywebhosting.com\/tutorials\/domain-redirect\/","title":{"rendered":"Domain Redirect: How to Set Up Domain Redirects in cPanel"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Setting up domain redirects in cPanel is a great way to automatically send visitors from one web address to another. Whether you&#8217;re moving to a new domain, merging websites, or temporarily pointing users elsewhere, cPanel makes the process quick and easy. Let\u2019s walk through the steps.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-a-domain-redirect\">What is a Domain Redirect?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A domain redirect is when you tell web browsers and search engines that a specific URL should forward to another one. Here are the two most common types:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>301 Permanent Redirect<\/strong>: Tells search engines and users that your website has moved permanently to a new URL.<\/li>\n\n\n\n<li><strong>302 Temporary Redirect<\/strong>: Useful when you only need the redirect for a short period and don\u2019t want search engines to treat it as permanent.<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-is-a-domain-redirect\">What is a Domain Redirect?<\/a><\/li><li><a href=\"#step-by-step-instructions-to-set-up-domain-redirects-in-c-panel\">Step-by-Step Instructions to Set Up Domain Redirects in cPanel<\/a><ul><li><a href=\"#step-1-log-in-to-c-panel\">Step 1: Log in to cPanel<\/a><\/li><li><a href=\"#step-2-go-to-the-redirects-section\">Step 2: Go to the Redirects Section<\/a><\/li><li><a href=\"#step-3-choose-redirect-type\">Step 3: Choose Redirect Type<\/a><\/li><li><a href=\"#step-4-select-the-domain-you-want-to-redirect\">Step 4: Select the Domain You Want to Redirect<\/a><\/li><li><a href=\"#step-5-enter-the-destination-url\">Step 5: Enter the Destination URL<\/a><\/li><li><a href=\"#step-6-set-up-additional-options-optional\">Step 6: Set Up Additional Options (Optional)<\/a><\/li><li><a href=\"#step-7-add-the-redirect\">Step 7: Add the Redirect<\/a><\/li><li><a href=\"#step-8-test-the-redirect\">Step 8: Test the Redirect<\/a><\/li><li><a href=\"#key-points-to-remember\">Key Points to Remember:<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-by-step-instructions-to-set-up-domain-redirects-in-c-panel\">Step-by-Step Instructions to Set Up Domain Redirects in cPanel<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-1-log-in-to-c-panel\">Step 1: Log in to cPanel<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"302\" height=\"307\" src=\"https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/image-1.png\" alt=\"\" class=\"wp-image-493\" style=\"width:347px;height:auto\" srcset=\"https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/image-1.png 302w, https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/image-1-295x300.png 295w\" sizes=\"auto, (max-width: 302px) 100vw, 302px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Start by logging into your cPanel account using the credentials provided by your <a href=\"https:\/\/www.squarebrothers.com\/\" rel=\"noopener\">hosting<\/a> provider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-2-go-to-the-redirects-section\">Step 2: Go to the Redirects Section<\/h3>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"888\" height=\"130\" src=\"https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-12-155740-1.png\" alt=\"Domain Redirect\" class=\"wp-image-491\" srcset=\"https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-12-155740-1.png 888w, https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-12-155740-1-300x44.png 300w, https:\/\/www.trichywebhosting.com\/tutorials\/wp-content\/uploads\/2024\/09\/Screenshot-2024-09-12-155740-1-768x112.png 768w\" sizes=\"auto, (max-width: 888px) 100vw, 888px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Once you\u2019re in cPanel, scroll down to the <strong><a href=\"https:\/\/www.trichywebhosting.com\/domain-registration\/\">Domains<\/a><\/strong> section and click on <strong>&#8220;Redirects.&#8221;<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-3-choose-redirect-type\">Step 3: Choose Redirect Type<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On the Redirects page, you\u2019ll see options for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Permanent (301)<\/strong>: Use this for permanent changes like domain migrations or rebranding.<\/li>\n\n\n\n<li><strong>Temporary (302)<\/strong>: Choose this if you\u2019re only redirecting traffic temporarily.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-4-select-the-domain-you-want-to-redirect\">Step 4: Select the Domain You Want to Redirect<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">From the dropdown menu, choose the domain name you want to redirect. If you\u2019re redirecting all of your domains, select <strong>&#8220;All Public Domains.&#8221;<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-5-enter-the-destination-url\">Step 5: Enter the Destination URL<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>&#8220;Redirects to&#8221;<\/strong> field, type the URL where you want your visitors to go. For example, if you want to send users to a new website, enter <code>https:\/\/www.newsite.com<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-6-set-up-additional-options-optional\">Step 6: Set Up Additional Options (Optional)<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>www Redirect<\/strong>: Choose if you want to redirect with or without the &#8220;www&#8221; in front of your domain.<\/li>\n\n\n\n<li><strong>Wild Card Redirect<\/strong>: If you enable this, it will redirect all pages of the old domain to the matching pages on the new domain. For example, <code>yourdomain.com\/page1<\/code> would redirect to <code>newdomain.com\/page1<\/code>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-7-add-the-redirect\">Step 7: Add the Redirect<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">After entering the details, click <strong>&#8220;Add&#8221;<\/strong> to finalize the setup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"step-8-test-the-redirect\">Step 8: Test the Redirect<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Visit your old domain in a web browser to make sure the redirect works. It should automatically take you to the new address.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"key-points-to-remember\">Key Points to Remember:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Permanent vs Temporary Redirects<\/strong>: Permanent (301) redirects tell search engines to update their records, while temporary (302) redirects do not.<\/li>\n\n\n\n<li><strong>DNS Changes<\/strong>: Sometimes redirects take a few hours to work due to DNS propagation, so don\u2019t worry if it doesn\u2019t happen immediately.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">By following these easy steps, you can set up domain redirects in cPanel and ensure your visitors are always sent to the right place!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up domain redirects in cPanel is a great way to automatically send visitors from one web address to another. Whether you&#8217;re moving to a new domain, merging websites, or temporarily pointing users elsewhere, cPanel makes the process quick and easy. Let\u2019s walk through the steps. What is a Domain Redirect? A domain redirect is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[44],"tags":[],"class_list":["post-489","post","type-post","status-publish","format-standard","hentry","category-what-is-a-domain-redirect"],"_links":{"self":[{"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/posts\/489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/comments?post=489"}],"version-history":[{"count":2,"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":494,"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/posts\/489\/revisions\/494"}],"wp:attachment":[{"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/media?parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/categories?post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trichywebhosting.com\/tutorials\/wp-json\/wp\/v2\/tags?post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}