{"id":994836,"date":"2025-02-26T19:32:27","date_gmt":"2025-02-26T18:32:27","guid":{"rendered":"https:\/\/clickin.dk\/marketing-dictionary\/302-redirect\/"},"modified":"2025-09-03T15:14:02","modified_gmt":"2025-09-03T13:14:02","slug":"302-redirect","status":"publish","type":"page","link":"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/","title":{"rendered":"302 redirect"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"994836\" class=\"elementor elementor-994836\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-d540bcb e-flex e-con-boxed e-con e-parent\" data-id=\"d540bcb\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-165e25a elementor-widget elementor-widget-text-editor\" data-id=\"165e25a\" data-element_type=\"widget\" data-e-type=\"widget\" id=\"blogposttext\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>A 302 <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/redirect\/\">Redirect<\/a> is a temporary redirect from one <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/url\/\">URL<\/a> to another. Unlike a <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/301-redirect\/\">301 Redirect<\/a>, which is a permanent redirect, a 302 redirect signals to search engines that the original URL may return at a later date. This means that search engines do not transfer SEO value (link equity) to the new URL, but instead keep the original URL in their index.  <\/p><h2>When is a 302 Redirect used?<\/h2><p>A 302 Redirect should only be used in specific cases where a temporary redirect is necessary, for example:<\/p><ul><li><strong>Website updates:<\/strong> If a page is temporarily unavailable due to maintenance or updates, a 302 redirect can be used to send users to a temporary <a href=\"https:\/\/clickin.dk\/en\/landing-page\/\">landing page<\/a>.<\/li><li><strong>A\/B testing:<\/strong> If you&#8217;re testing different versions of a page without affecting <a href=\"https:\/\/clickin.dk\/en\/seo-agency\/\">SEO<\/a>, a 302 redirect can help send traffic to the test version.<\/li><li><strong>Seasonal promotions:<\/strong> If a specific <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/url\/\">URL<\/a> is temporarily redirected to a promotional page, but the original page needs to be reactivated later.<\/li><li><strong>Geographic or device-based <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/redirection\/\">redirection<\/a>:<\/strong> If a user from a specific location or device type needs to be redirected to a relevant version of the page without changing search engine indexing.<\/li><\/ul><h2>302 Redirect vs. 301 Redirect<\/h2><p>It is important to understand the difference between a 301 Redirect and a 302 Redirect, as incorrect use can negatively impact SEO:<\/p><table><thead><tr><th>Function <\/th> <th>301 Redirect (Permanent)<\/th> <th>302 Redirect (Temporary)<\/th><\/tr><\/thead><tbody><tr><td><strong>SEO effect<\/strong><\/td> <td>Transfers link value to the new URL <\/td><td>Preserves link value on the original URL <\/td><\/tr><tr><td><strong>Indexing<\/strong><\/td> <td>The new URL is indexed by search engines <\/td><td>The old URL is kept in the index <\/td><\/tr><tr><td><strong>Usage scenarios<\/strong><\/td> <td>Domain switching, removal of old pages <\/td> <td>Temporary campaigns, tests, maintenance<\/td><\/tr><\/tbody><\/table><p>Incorrect use of a 302 redirect can lead to SEO losses, especially if it is used when a permanent redirect (301) should have been used.<\/p><h2>Implementing a 302 Redirect<\/h2><p>There are several ways to implement a 302 Redirect, depending on your server configuration and platform.<\/p><h3>1. .htaccess (Apache-server)<\/h3><p>If your website is running on an Apache server, you can add the following rule to the .htaccess file:<\/p><pre>Redirect 302 \/gammel-side.html <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/http-https\/\">https<\/a>:\/\/ditdom\u00e6ne.dk\/ny-side.html\n<\/pre><h3>2. PHP Redirect<\/h3><p>If you want to create a redirect via PHP, you can insert this code at the top of your <code>gammel-side.php<\/code>:<\/p><pre>&lt;?php\nheader(\"Location: https:\/\/ditdom\u00e6ne.dk\/ny-side.html\", true, 302);\nexit();\n?&gt;\n<\/pre><h3>3. Nginx Redirect<\/h3><p>For Nginx servers, you can add the following configuration:<\/p><pre>rewrite ^\/gammel-side$ https:\/\/ditdom\u00e6ne.dk\/ny-side.html redirect;\n<\/pre><h3>4. WordPress Plugins<\/h3><p>If you use WordPress, you can use plugins like <strong>Redirection <\/strong> or <strong>Yoast SEO<\/strong> to set up a 302 Redirect without editing code.<\/p><h2>SEO Consequences of 302 Redirects<\/h2><p>The use of 302 Redirects requires caution as they can affect your <a href=\"https:\/\/clickin.dk\/en\/seo-strategy\/\">SEO strategy<\/a>:<\/p><ul><li><strong>Indexing:<\/strong> Search engines will continue to index the old URL, which can lead to <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/duplicate-content\/\">duplicate content<\/a> issues if the new <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/duplicate-content\/\">URL<\/a> is also visible.<\/li><li><strong>Link value: <\/strong> Link juice (authority from <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/backlinks\/\">backlinks<\/a>) is typically not transferred to the new URL with a 302 Redirect, which can result in a loss of rankings.<\/li><li><strong>User experience: <\/strong> If users repeatedly experience temporary redirects for no apparent reason, it can negatively impact the user experience.<\/li><\/ul><p>To avoid SEO problems, a 302 Redirect should only be used when absolutely necessary, and you should continuously monitor the effect via tools like Google Search Console and <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/google-analytics\/\">Google Analytics<\/a>.<\/p><p>A 302 Redirect is a powerful method for temporarily redirecting users, but it should be used with care to avoid SEO losses. If the redirection needs to be permanent, it is always best to choose a <a href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/301-redirect\/\">301 Redirect<\/a>. However, when used correctly, 302 Redirects can be useful for testing, temporary promotions, and site maintenance without affecting your long-term <a href=\"https:\/\/clickin.dk\/en\/seo-strategy\/\">SEO strategy<\/a>.  <\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-a8b518e e-flex e-con-boxed e-con e-parent\" data-id=\"a8b518e\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fba089c elementor-widget elementor-widget-template\" data-id=\"fba089c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"container\" data-elementor-id=\"995320\" class=\"elementor elementor-995320 elementor-991091 elementor-991091\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7e26d798 e-flex e-con-boxed e-con e-parent\" data-id=\"7e26d798\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6fa0fdf7 elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"6fa0fdf7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2dc98b86 elementor-author-box--layout-image-left elementor-author-box--avatar-yes elementor-author-box--name-yes elementor-author-box--biography-yes elementor-widget elementor-widget-author-box\" data-id=\"2dc98b86\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"author-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-author-box\">\n\t\t\t\t\t\t\t<div  class=\"elementor-author-box__avatar\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/clickin.dk\/wp-content\/uploads\/2023\/10\/martin_grey_portrait_1-1.jpg-1-300x300.png\" alt=\"Picture of Martin S\u00f8lberg\" loading=\"lazy\">\n\t\t\t\t<\/div>\n\t\t\t\n\t\t\t<div class=\"elementor-author-box__text\">\n\t\t\t\t\t\t\t\t\t<div >\n\t\t\t\t\t\t<h4 class=\"elementor-author-box__name\">\n\t\t\t\t\t\t\tMartin S\u00f8lberg\t\t\t\t\t\t<\/h4>\n\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-author-box__bio\">\n\t\t\t\t\t\tAdm. direkt\u00f8r &amp; Digital konsulent\t\t\t\t\t<\/div>\n\t\t\t\t\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>A 302 Redirect is a temporary redirect from one URL to another. Unlike a 301 Redirect, which is a permanent redirect, a 302 redirect signals to search engines that the original URL may return at a later date. This means that search engines do not transfer SEO value (link equity) to the new URL, but&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":994503,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-994836","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>302 redirect | How to properly use 302 redirects<\/title>\n<meta name=\"description\" content=\"If you work with a website that is constantly updated, you can&#039;t avoid 301 and 302 redirects | Read more about it here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"302 redirect | How to properly use 302 redirects\" \/>\n<meta property=\"og:description\" content=\"If you work with a website that is constantly updated, you can&#039;t avoid 301 and 302 redirects | Read more about it here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/\" \/>\n<meta property=\"og:site_name\" content=\"Click in\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-03T13:14:02+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/marketing-dictionary\\\/302-redirect\\\/\",\"url\":\"https:\\\/\\\/clickin.dk\\\/en\\\/marketing-dictionary\\\/302-redirect\\\/\",\"name\":\"302 redirect | How to properly use 302 redirects\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/#website\"},\"datePublished\":\"2025-02-26T18:32:27+00:00\",\"dateModified\":\"2025-09-03T13:14:02+00:00\",\"description\":\"If you work with a website that is constantly updated, you can't avoid 301 and 302 redirects | Read more about it here.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/marketing-dictionary\\\/302-redirect\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/clickin.dk\\\/en\\\/marketing-dictionary\\\/302-redirect\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/marketing-dictionary\\\/302-redirect\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Hjem\",\"item\":\"https:\\\/\\\/clickin.dk\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Marketing Dictionary\",\"item\":\"https:\\\/\\\/clickin.dk\\\/en\\\/marketingordbog\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"302 redirect\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/clickin.dk\\\/en\\\/\",\"name\":\"Click in\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/clickin.dk\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/#organization\",\"name\":\"Click in ApS\",\"alternateName\":\"Click in\",\"url\":\"https:\\\/\\\/clickin.dk\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/clickin.dk\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/LOGO_CI.png\",\"contentUrl\":\"https:\\\/\\\/clickin.dk\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/LOGO_CI.png\",\"width\":1115,\"height\":312,\"caption\":\"Click in ApS\"},\"image\":{\"@id\":\"https:\\\/\\\/clickin.dk\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/company\\\/clickin.dk\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"302 redirect | How to properly use 302 redirects","description":"If you work with a website that is constantly updated, you can't avoid 301 and 302 redirects | Read more about it here.","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:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/","og_locale":"en_US","og_type":"article","og_title":"302 redirect | How to properly use 302 redirects","og_description":"If you work with a website that is constantly updated, you can't avoid 301 and 302 redirects | Read more about it here.","og_url":"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/","og_site_name":"Click in","article_modified_time":"2025-09-03T13:14:02+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/","url":"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/","name":"302 redirect | How to properly use 302 redirects","isPartOf":{"@id":"https:\/\/clickin.dk\/en\/#website"},"datePublished":"2025-02-26T18:32:27+00:00","dateModified":"2025-09-03T13:14:02+00:00","description":"If you work with a website that is constantly updated, you can't avoid 301 and 302 redirects | Read more about it here.","breadcrumb":{"@id":"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/clickin.dk\/en\/marketing-dictionary\/302-redirect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Hjem","item":"https:\/\/clickin.dk\/en\/"},{"@type":"ListItem","position":2,"name":"Marketing Dictionary","item":"https:\/\/clickin.dk\/en\/marketingordbog\/"},{"@type":"ListItem","position":3,"name":"302 redirect"}]},{"@type":"WebSite","@id":"https:\/\/clickin.dk\/en\/#website","url":"https:\/\/clickin.dk\/en\/","name":"Click in","description":"","publisher":{"@id":"https:\/\/clickin.dk\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/clickin.dk\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/clickin.dk\/en\/#organization","name":"Click in ApS","alternateName":"Click in","url":"https:\/\/clickin.dk\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/clickin.dk\/en\/#\/schema\/logo\/image\/","url":"https:\/\/clickin.dk\/wp-content\/uploads\/2023\/04\/LOGO_CI.png","contentUrl":"https:\/\/clickin.dk\/wp-content\/uploads\/2023\/04\/LOGO_CI.png","width":1115,"height":312,"caption":"Click in ApS"},"image":{"@id":"https:\/\/clickin.dk\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/clickin.dk\/"]}]}},"_links":{"self":[{"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/pages\/994836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/comments?post=994836"}],"version-history":[{"count":1,"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/pages\/994836\/revisions"}],"predecessor-version":[{"id":994837,"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/pages\/994836\/revisions\/994837"}],"up":[{"embeddable":true,"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/pages\/994503"}],"wp:attachment":[{"href":"https:\/\/clickin.dk\/en\/wp-json\/wp\/v2\/media?parent=994836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}