{"id":4601,"date":"2016-08-19T06:40:09","date_gmt":"2016-08-19T03:40:09","guid":{"rendered":"https:\/\/unihost.com\/help\/?p=4601"},"modified":"2023-01-19T13:59:45","modified_gmt":"2023-01-19T10:59:45","slug":"how-to-set-up-303-302-301-redirect","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/","title":{"rendered":"How to set up 303 \/ 302 \/ 301 redirect?"},"content":{"rendered":"<p><span style=\"font-family: Ubuntu,sans-serif;\"><strong>Question: <\/strong>How to set up 303 \/ 302 \/ 301 redirect?<\/span><!--more--><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\"><strong>Answer: <\/strong>There are two options: to set up redirect in ISPmanager control panel or to edit .htaccess file.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">You should use only one of these methods to set up 303 \/ 302 \/ 301 redirect otherwise you might face some problems.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">1. Setting up redirect in ISPmanager control panel.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">Go to the &#8220;World Wide Web&#8221; menu- &#8220;Redirects&#8221;.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">Click \u00abcreate\u00bb button and select the domain for which you will set up redirect in the appeared menu.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">In the URL path &#8211; specify the location of a file or a folder in relation to the www directory, which is in the user&#8217;s home directory. Instead of processing this URL when addressing it, the web-server redirects the browser. Path must begin with a &#8220;\/&#8221;. You can use Latin letters, numbers and punctuation &#8220;-&#8220;, &#8220;.&#8221;, &#8220;_&#8221;, &#8220;\/&#8221;. For example: <span style=\"font-family: Ubuntu Mono,monospace;\">\/ index.html, \/ cgi-bin\/external.pl, \/ forum \/ form.php.<\/span><\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">Then select the appropriate error code.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">In URL \u2014 specify either internal (on the same WWW domain) or external URL, that is to trigger redirect. If URL is internal, the value of this field must begin with a &#8220;\/&#8221;; if it is external, then with &#8220;http:\/\/&#8221;, &#8220;https:\/\/&#8221;, &#8220;ftp:\/\/&#8221;, etc.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">2. Making of redirect in .htaccess file.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">To redirect from one page to another, it is necessary to indicate the following line:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu,sans-serif;\">Redirect [status] \/oldpage.html http:\/\/yourdomain.com\/newpage.html<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">where <strong>[status]<\/strong> \u2014 an optional field that can determine the return code. Possible status values:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\">permanent (301 \u2014 page moved permanently)<\/span><br \/>\n<span style=\"font-family: Ubuntu,sans-serif;\">temp (302 \u2014 page moved temporarily)<\/span><br \/>\n<span style=\"font-family: Ubuntu,sans-serif;\">seeother (303 \u2014 view another)<\/span><br \/>\n<span style=\"font-family: Ubuntu,sans-serif;\">gone (410 \u2014deleted )<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\"><span style=\"font-family: Ubuntu Mono,monospace;\">\/oldpage.html<\/span> &#8211; location of a file or a folder in relation to the www directory, which is in the user&#8217;s home directory and <span style=\"font-family: Ubuntu Mono,monospace;\">http:\/\/yourdomain.com\/newpage.html <\/span>\u2014 full path to the new page.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu,sans-serif;\"><span style=\"font-family: Ubuntu Mono,monospace;\">\/oldpage.html<\/span> 303 \/ 302 \/ 301 redirect s now set up!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: How to set up 303 \/ 302 \/ 301 redirect?<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158],"tags":[11],"class_list":["post-4601","post","type-post","status-publish","format-standard","hentry","category-dedicated-servers","tag-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to set up 303 \/ 302 \/ 301 redirect? - Unihost.FAQ<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up 303 \/ 302 \/ 301 redirect? - Unihost.FAQ\" \/>\n<meta property=\"og:description\" content=\"Question: How to set up 303 \/ 302 \/ 301 redirect?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-19T03:40:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-19T10:59:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"141\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"How to set up 303 \/ 302 \/ 301 redirect?\",\"datePublished\":\"2016-08-19T03:40:09+00:00\",\"dateModified\":\"2023-01-19T10:59:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\"},\"wordCount\":283,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"keywords\":[\"Hosting\"],\"articleSection\":[\"02. Dedicated servers\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\",\"url\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\",\"name\":\"How to set up 303 \/ 302 \/ 301 redirect? - Unihost.FAQ\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"datePublished\":\"2016-08-19T03:40:09+00:00\",\"dateModified\":\"2023-01-19T10:59:45+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to set up 303 \/ 302 \/ 301 redirect?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\/\/unihost.com\/\"],\"url\":\"https:\/\/unihost.com\/help\/author\/support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up 303 \/ 302 \/ 301 redirect? - Unihost.FAQ","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:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/","og_locale":"en_US","og_type":"article","og_title":"How to set up 303 \/ 302 \/ 301 redirect? - Unihost.FAQ","og_description":"Question: How to set up 303 \/ 302 \/ 301 redirect?","og_url":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2016-08-19T03:40:09+00:00","article_modified_time":"2023-01-19T10:59:45+00:00","og_image":[{"width":250,"height":141,"url":"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png","type":"image\/png"}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"How to set up 303 \/ 302 \/ 301 redirect?","datePublished":"2016-08-19T03:40:09+00:00","dateModified":"2023-01-19T10:59:45+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/"},"wordCount":283,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"keywords":["Hosting"],"articleSection":["02. Dedicated servers"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/","url":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/","name":"How to set up 303 \/ 302 \/ 301 redirect? - Unihost.FAQ","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"datePublished":"2016-08-19T03:40:09+00:00","dateModified":"2023-01-19T10:59:45+00:00","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/how-to-set-up-303-302-301-redirect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"How to set up 303 \/ 302 \/ 301 redirect?"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/4601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=4601"}],"version-history":[{"count":1,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/4601\/revisions"}],"predecessor-version":[{"id":4602,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/4601\/revisions\/4602"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=4601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=4601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=4601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}