{"id":441,"date":"2016-06-30T14:09:51","date_gmt":"2016-06-30T14:09:51","guid":{"rendered":"http:\/\/cloudhost.com.ng\/blog\/?p=441"},"modified":"2016-06-30T14:09:51","modified_gmt":"2016-06-30T14:09:51","slug":"configuring-a-domain-redirect-in-cpanel","status":"publish","type":"post","link":"https:\/\/cloudhost.com.ng\/blog\/configuring-a-domain-redirect-in-cpanel\/","title":{"rendered":"Configuring a domain redirect in cPanel"},"content":{"rendered":"<p><a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Domain-Redirection-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-442\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Domain-Redirection-2.jpg\" alt=\"Domain-Redirection-2\" width=\"600\" height=\"311\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Domain-Redirection-2.jpg 600w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Domain-Redirection-2-300x156.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h2>About redirect<\/h2>\n<p>Redirection occurs when a web server sends a visitor from one web page to another web page.\u00a0The\u00a0<strong>Redirects<\/strong>\u00a0interface allows you to send all of the visitors of a domain or particular page to a different URL.\u00a0A common use of redirection is to create shorter, easy-to-remember URLs that redirect to longer URLs. It\u00a0is also used to redirect visitors from old pages on a website to the new and updated web pages.\u00a0A\u00a0domain redirection may be temporary, permanent, wildcard etc.<\/p>\n<p>Now, let&#8217;s go about how to create a redirect in cPanel:<\/p>\n<h3>Adding a redirect<\/h3>\n<ol>\n<li>Log in to cPanel.<\/li>\n<li>Click on <strong>Redirects<\/strong> icon under <em>Domains<\/em> section.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-112.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-443\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-112.png\" alt=\"Screenshot (112)\" width=\"508\" height=\"114\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-112.png 508w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-112-300x67.png 300w\" sizes=\"(max-width: 508px) 100vw, 508px\" \/><\/a><\/li>\n<li>The Redirects interface will load and be displayed as shown.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-113.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-444\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-113.png\" alt=\"Screenshot (113)\" width=\"776\" height=\"430\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-113.png 776w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-113-300x166.png 300w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-113-768x426.png 768w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-113-624x346.png 624w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/a>From the <strong>Type<\/strong> drop-down menu, select the\u00a0type of redirect you wish to\u00a0use.\n<ul>\n<li><em>Permanent (301)<\/em><strong>: \u00a0<\/strong>this redirect type will update the visitor&#8217;s bookmarks and direct search engines to the new site.<\/li>\n<li><em>Temporary (302)<\/em><b>:\u00a0<\/b>this redirect type will redirect the visitor or search engine but will not update the bookmark, and search engines will continue to index to the original page.<\/li>\n<\/ul>\n<\/li>\n<li>In the\u00a0<strong>http:\/\/(www.)? <\/strong>field, select the domain you wish redirect or select <strong>**All Public Domains<\/strong> if you wish to redirect all the domains controlled by your cPanel. If you wish to redirect a particular directory, enter the name in the available text box next to the slash.<\/li>\n<li>In the <strong>Redirects to\u00a0<\/strong>field, enter the URL you wish to redirect visitors to.<\/li>\n<li>In the <strong>www.Redirection<\/strong>, select one of the options.\n<ul>\n<li><em>Only redirect with www<\/em>. \u2014 with this option, only visitors who enter the\u00a0<code>www\u00a0<\/code>as part of the URL will be redirected.<\/li>\n<li><em>Redirect with or without www.<\/em>\u00a0\u2014 with this option, all visitors are redirected, whether they enter the\u00a0<code>www.<\/code>\u00a0prefix before the domain name part of the URL.<\/li>\n<li><em>Do Not Redirect www.<\/em>\u00a0\u2014 with this option, visitors\u00a0who enter the\u00a0<code>www.<\/code>\u00a0prefix before the the domain name part of the URL will be directed.<\/li>\n<\/ul>\n<\/li>\n<li>Check the\u00a0<strong>Wildcard Redirect<\/strong>\u00a0checkbox if you wish to redirect all files within a directory to the same filename in the new directory.<\/li>\n<li>Then click <strong>Add<\/strong>.<\/li>\n<\/ol>\n<h3>Removing a redirect<\/h3>\n<p>To remove a redirect, follow these\u00a0steps:<\/p>\n<ol>\n<li>Go to the Redirects interface by clicking on <strong>Redirecting<\/strong> icon under the <em>Domains<\/em> section.<\/li>\n<li>Under the <em>Remove<\/em> section, click the &#8220;<strong>X<\/strong>&#8221; button corresponding\u00a0to the redirect that you wish to remove.<a href=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-115.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-446\" src=\"http:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-115.png\" alt=\"Screenshot (115)\" width=\"776\" height=\"218\" srcset=\"https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-115.png 776w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-115-300x84.png 300w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-115-768x216.png 768w, https:\/\/cloudhost.com.ng\/blog\/wp-content\/uploads\/2016\/06\/Screenshot-115-624x175.png 624w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/a><\/li>\n<li>On the next page, click\u00a0<strong>Remove Redirect<\/strong>\u00a0to confirm the removal of this redirect.<\/li>\n<\/ol>\n<p>Congratulations! Now you know how to redirect your website visitors when the need arises.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>About redirect Redirection occurs when a web server sends a visitor from one web page to another web page.\u00a0The\u00a0Redirects\u00a0interface allows you to send all of the visitors of a domain or particular page to a different URL.\u00a0A common use of redirection is to create shorter, easy-to-remember URLs that redirect to longer URLs. It\u00a0is also used [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"yst_prominent_words":[],"class_list":["post-441","post","type-post","status-publish","format-standard","hentry","category-cpanel"],"_links":{"self":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/441"}],"collection":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/comments?post=441"}],"version-history":[{"count":3,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/441\/revisions"}],"predecessor-version":[{"id":448,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/posts\/441\/revisions\/448"}],"wp:attachment":[{"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/media?parent=441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/categories?post=441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/tags?post=441"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/cloudhost.com.ng\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}