{"id":9007,"date":"2021-01-08T08:58:16","date_gmt":"2021-01-08T08:58:16","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=9007"},"modified":"2024-04-24T07:07:51","modified_gmt":"2024-04-24T06:07:51","slug":"create-url-redirect-from-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/","title":{"rendered":"How to Create a URL Redirect from cPanel?"},"content":{"rendered":"<p>With the Redirects tool in cPanel you can redirect the visitors of your website from a source URL to a target URL. You will get cPanel and other relevant technical resources with <a href=\"https:\/\/www.milesweb.co.uk\/hosting\/url-hosting\">URL hosting<\/a> plans. Note that redirects only update an .htaccess file. If the domain has been added to the cPanel account, you should find it in the list on this page.<\/p>\n<p><strong>Warning:<\/strong> Avoid creating a redirect for domain.com to www.domain.com or from domain.com to domain.com\/index.something. If you do that, it will lead to an infinite loop. If you need to control the www and index page, use mod_rewrite by adding .htaccess code.<\/p>\n<h3>Steps to Set Up a Redirect<\/h3>\n<p>1. Log into cPanel.<\/p>\n<p>2. Go to the <strong>Domains<\/strong> section and click the <strong>Redirects<\/strong> icon.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11131\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min-1024x157.jpg\" alt=\"\" width=\"1024\" height=\"157\" \/><\/p>\n<p>3. From the <strong>Type<\/strong> drop-down menu, select the type of redirect you want to set.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11132\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/type-of-redirect-min.jpg\" alt=\"\" width=\"739\" height=\"169\" \/><\/p>\n<ul>\n<li><strong>Permanent 301:<\/strong> With this redirect, the visitor&#8217;s bookmarks and direct search engines will get updated to the new site.<\/li>\n<li><strong>Temporary 302:<\/strong> With this redirect, the visitor or search engine will get redirected but will not update the bookmark, and search engines will continue to index to the original page.<\/li>\n<\/ul>\n<p>4. Next, from the <strong>https?:\/\/(www.)?<\/strong> drop-down menu, choose the domain name you want to redirect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11133\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/https-min.jpg\" alt=\"\" width=\"721\" height=\"217\" \/><\/p>\n<p>5. For redirecting a single page or directory, use the text field that starts with the forward-slash <strong>(\/)<\/strong> to type the name of the folder or file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11134\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/slash-min.jpg\" alt=\"\" width=\"723\" height=\"65\" \/><\/p>\n<p>6. In the <strong>Redirects to<\/strong> field, mention the complete URL of the page to which you want to redirect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11135\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/redirects-to-min.jpg\" alt=\"\" width=\"719\" height=\"83\" \/><\/p>\n<p>7. From the <strong>www. redirection<\/strong> options as below, select one to find whether or not the domain will be redirecting:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11137\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/www-redirection-add-min.jpg\" alt=\"\" width=\"281\" height=\"195\" \/><\/p>\n<ul>\n<li><strong>Only redirect with www.<\/strong> : It will redirect only the visitors that enter www. as part of the URL.<\/li>\n<li><strong>Redirect with or without www.<\/strong> : It will redirect all visitors whether they use www. or not.<\/li>\n<li><strong>Do Not Redirect www.<\/strong> : It will not redirect visitors using www. as part of the URL.<\/li>\n<\/ul>\n<p>8. If you click the <strong>Wild Card Redirect<\/strong> option, you can set up a redirect to the same file on a new location.<\/p>\n<ul>\n<li>If you select Wild Card Redirect, www.designauraexample.com\/about.html will redirect to www.designauraexample-destination.com\/about.html<\/li>\n<li>If you don\u2019t select Wild Card Redirect, www. designauraexample.com\/about.html will redirect to www.designauraexample-destination.com<\/li>\n<\/ul>\n<p>9. Once done, click on the <strong>Add<\/strong> button to create the redirect as you have set.<\/p>\n<p>After this, when visitors browse the exact URL specified by you, they will be redirected to the target site you have allocated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the Redirects tool in cPanel you can redirect the visitors of your website from a source URL to a target URL. You will get cPanel and other relevant technical resources with URL hosting plans. Note that redirects only update an .htaccess file. If the domain has been added to the cPanel account, you should [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[152,1725,1723,1724],"class_list":["post-9007","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-cpanel-faq","tag-cpanel","tag-cpanel-url-redirect","tag-create-url-redirect-from-cpanel","tag-url-redirect"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create a URL Redirect from cPanel?<\/title>\n<meta name=\"description\" content=\"The article reveals teh steps to create a URL redirect from cPanel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a URL Redirect from cPanel?\" \/>\n<meta property=\"og:description\" content=\"The article reveals teh steps to create a URL redirect from cPanel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-08T08:58:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T06:07:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min-1024x157.jpg\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/\",\"name\":\"How to Create a URL Redirect from cPanel?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min-1024x157.jpg\",\"datePublished\":\"2021-01-08T08:58:16+00:00\",\"dateModified\":\"2024-04-24T06:07:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"The article reveals teh steps to create a URL redirect from cPanel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min.jpg\",\"width\":1125,\"height\":173},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Create a URL Redirect from cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a URL Redirect from cPanel?","description":"The article reveals teh steps to create a URL redirect from cPanel.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/","og_locale":"en_GB","og_type":"article","og_title":"How to Create a URL Redirect from cPanel?","og_description":"The article reveals teh steps to create a URL redirect from cPanel.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-01-08T08:58:16+00:00","article_modified_time":"2024-04-24T06:07:51+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min-1024x157.jpg","type":"","width":"","height":""}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/","name":"How to Create a URL Redirect from cPanel?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min-1024x157.jpg","datePublished":"2021-01-08T08:58:16+00:00","dateModified":"2024-04-24T06:07:51+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"The article reveals teh steps to create a URL redirect from cPanel.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min.jpg","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/01\/domain-redirects-min.jpg","width":1125,"height":173},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/create-url-redirect-from-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Create a URL Redirect from cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/"}]}},"views":412,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9007","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=9007"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9007\/revisions"}],"predecessor-version":[{"id":15562,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9007\/revisions\/15562"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=9007"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=9007"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=9007"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}