{"id":9713,"date":"2021-02-20T04:30:27","date_gmt":"2021-02-20T04:30:27","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=9713"},"modified":"2024-04-23T13:35:13","modified_gmt":"2024-04-23T12:35:13","slug":"add-site-redirect-directadmin","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/","title":{"rendered":"How to Add a Site Redirect in DirectAdmin?"},"content":{"rendered":"<p>With a site redirection, URLs will be redirected from one folder to another folder\/domain. For example, redirect http:\/\/domain.com\/test1 to http:\/\/domain.com\/test2.<\/p>\n<p>1. Login to your <strong>DirectAdmin<\/strong> account.<\/p>\n<p>2. Go to <strong>Account Manager<\/strong> and click on <strong>Site Redirection<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11896\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/site-redirection-min-1024x134.jpg\" alt=\"\" width=\"1024\" height=\"134\" \/><\/p>\n<p>3. Click on the <strong>Create New Redirect<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11897\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/create-new-redirect-min-1024x154.jpg\" alt=\"\" width=\"1024\" height=\"154\" \/><\/p>\n<p>4. The <strong>Add New Redirect<\/strong> window will get displayed. In this window, you need to fill the below fields:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11898\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/add-new-redirect-min.jpg\" alt=\"\" width=\"720\" height=\"325\" \/><\/p>\n<ul>\n<li><strong>Local URL Path<\/strong> \u2013 Here you will need to add the path that will be redirected. The path can be for a file or a directory.<\/li>\n<li><strong>Redirect Type<\/strong> \u2013 You can select one from three options here: <strong>301 Permanent<\/strong>, <strong>302 Temporary<\/strong> or <strong>303 Replaced<\/strong>.<\/li>\n<li><strong>Destination URL<\/strong> \u2013 It is the new or destination URL.<\/li>\n<\/ul>\n<p>5. Here we have redirected the <strong>hostingideas.in<\/strong> to <strong>hostingideas.in\/blog<\/strong>. After filling all these fields, click on the <strong>Create<\/strong> button.<\/p>\n<p>6. You will get a message as <strong>Redirect Added<\/strong> and also, see the redirect in your <strong>Site Redirects<\/strong> window as below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11899\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/redirect-added-min-1024x441.jpg\" alt=\"\" width=\"1024\" height=\"441\" \/><\/p>\n<p>7. Now for testing the new redirect in your web browser. Here we browsed <strong>http:\/\/hostingideas.in<\/strong> and it got redirected to <strong>hostingideas.in\/blog<\/strong>. The blog folder content gets displayed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-11900\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/url-browsed-min-1024x548.jpg\" alt=\"\" width=\"1024\" height=\"548\" \/><\/p>\n<p>You can add a site redirect in DirectAdmin by following the above steps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With a site redirection, URLs will be redirected from one folder to another folder\/domain. For example, redirect http:\/\/domain.com\/test1 to http:\/\/domain.com\/test2. 1. Login to your DirectAdmin account. 2. Go to Account Manager and click on Site Redirection. 3. Click on the Create New Redirect button. 4. The Add New Redirect window will get displayed. In this [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1777,41],"tags":[1889,1887,1780,1886,1888],"class_list":["post-9713","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-directadmin","category-howtos","tag-add-a-site-redirect-in-directadmin","tag-add-site-redirect","tag-directadmin","tag-site-redirect","tag-site-redirect-directadmin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add a Site Redirect in DirectAdmin?<\/title>\n<meta name=\"description\" content=\"The article explains the steps to add a site redirect in DirectAdmin. The DirectAdmin makes changes to the .htaccess file from your public_html\/ directory.\" \/>\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\/add-site-redirect-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add a Site Redirect in DirectAdmin?\" \/>\n<meta property=\"og:description\" content=\"The article explains the steps to add a site redirect in DirectAdmin. The DirectAdmin makes changes to the .htaccess file from your public_html\/ directory.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-20T04:30:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-23T12:35:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/site-redirection-min-1024x134.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=\"2 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\/add-site-redirect-directadmin\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/\",\"name\":\"How to Add a Site Redirect in DirectAdmin?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/site-redirection-min-1024x134.jpg\",\"datePublished\":\"2021-02-20T04:30:27+00:00\",\"dateModified\":\"2024-04-23T12:35:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"The article explains the steps to add a site redirect in DirectAdmin. The DirectAdmin makes changes to the .htaccess file from your public_html\/ directory.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add a Site Redirect in DirectAdmin?\"}]},{\"@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 Add a Site Redirect in DirectAdmin?","description":"The article explains the steps to add a site redirect in DirectAdmin. The DirectAdmin makes changes to the .htaccess file from your public_html\/ directory.","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\/add-site-redirect-directadmin\/","og_locale":"en_GB","og_type":"article","og_title":"How to Add a Site Redirect in DirectAdmin?","og_description":"The article explains the steps to add a site redirect in DirectAdmin. The DirectAdmin makes changes to the .htaccess file from your public_html\/ directory.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-02-20T04:30:27+00:00","article_modified_time":"2024-04-23T12:35:13+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/site-redirection-min-1024x134.jpg","type":"","width":"","height":""}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/","name":"How to Add a Site Redirect in DirectAdmin?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/02\/site-redirection-min-1024x134.jpg","datePublished":"2021-02-20T04:30:27+00:00","dateModified":"2024-04-23T12:35:13+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"The article explains the steps to add a site redirect in DirectAdmin. The DirectAdmin makes changes to the .htaccess file from your public_html\/ directory.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/add-site-redirect-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Add a Site Redirect in DirectAdmin?"}]},{"@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":788,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9713","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=9713"}],"version-history":[{"count":5,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9713\/revisions"}],"predecessor-version":[{"id":15464,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9713\/revisions\/15464"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=9713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=9713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=9713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}