ClickCease
Are you ready to increase your online success?
Our tips in the blog are just the beginning. If you want real growth, book your free initial consultation with our SEO experts - personalized, honest and tailored to your business.
Get free advice
Lexikon

302 Forwarding

David Hahn
CEO of SEO Galaxy
calendar icon
Last updated:
01.08.2025
clock icon
Reading time:
2 Minutes

The most important facts in a nutshell

check mark icon
302 Redirection is temporary: Used when a page is only temporarily moving.
check mark icon
Not for permanent changes: Always use 301 Redirect for permanent moves.
check mark icon
SEO effect: Google continues to treat the old URL as the main URL; the new content is usually not indexed.
check mark icon
Easy setup: Possible with.htaccess, PHP or WordPress plugin (e.g. Rank Math).
check mark icon
Easy setup: Possible with.htaccess, PHP or WordPress plugin (e.g. Rank Math).
check mark icon
Easy setup: Possible with.htaccess, PHP or WordPress plugin (e.g. Rank Math).

In Search Engine Optimization, redirects must also be set depending on the purpose, for example to correct a 404 error. Among other things, the 302 redirect is available for this purpose.

What is 302 forwarding?

If a page is redirected via a 302 redirect, this is a temporary redirect. The 302 redirect is therefore only used if the content can be found under a different path for a certain period of time. The target server thus provides the http status code “Found (Moved Temporarily)”.

In which case is a 302 forwarding used?

A 302 forwarding should also only be set if this change is only limited to a certain period of time. In the case of a permanent change, a 301 forwarding should be used instead.

The 301 redirect is always the right choice for a permanent change, such as a switch from http to https or a change to a new domain.

The 302 redirect is only useful if the website is not available for a short time (for example, due to a malfunction) or if you need to be redirected to a promotional page.

Instructions: 302 Set up Forwarding

There are two ways to set up 302 forwarding.

.htaccess

The Apache module mod_rewrite must be installed for a redirect:

“RewriteEngine On

RewriteRule ^oldbottom.html$ /neueunterseite.html [R=302, L]”

PHP

In the index.php to be redirected, the file in the head must be extended to include this code:

“<? php

header (“HTTP/1.1 302 Found”);

header (“Location: https://neue-domain.de”);

header (“Connection: close”);

? >”

With a content management system such as WordPress in particular, this should be solved using a plugin, as this significantly reduces the error rate and also provides an overview for large projects. The Rank Math SEO plugin is recommended for WordPress.

What influence does the status code 302 have on SEO?

The status code 302 gives the search engine crawler a hint and at the same time a request. On the one hand, the desired page is displayed to the visitor and, on the other, the redirect is not permanent. This means that the new content is ignored and nothing is changed in the indexing.

In Search Engine Optimization, redirects must also be set depending on the purpose, for example to correct a 404 error. Among other things, the 302 redirect is available for this purpose.

What is 302 forwarding?

If a page is redirected via a 302 redirect, this is a temporary redirect. The 302 redirect is therefore only used if the content can be found under a different path for a certain period of time. The target server thus provides the http status code “Found (Moved Temporarily)”.

In which case is a 302 forwarding used?

A 302 forwarding should also only be set if this change is only limited to a certain period of time. In the case of a permanent change, a 301 forwarding should be used instead.

The 301 redirect is always the right choice for a permanent change, such as a switch from http to https or a change to a new domain.

The 302 redirect is only useful if the website is not available for a short time (for example, due to a malfunction) or if you need to be redirected to a promotional page.

Instructions: 302 Set up Forwarding

There are two ways to set up 302 forwarding.

.htaccess

The Apache module mod_rewrite must be installed for a redirect:

“RewriteEngine On

RewriteRule ^oldbottom.html$ /neueunterseite.html [R=302, L]”

PHP

In the index.php to be redirected, the file in the head must be extended to include this code:

“<? php

header (“HTTP/1.1 302 Found”);

header (“Location: https://neue-domain.de”);

header (“Connection: close”);

? >”

With a content management system such as WordPress in particular, this should be solved using a plugin, as this significantly reduces the error rate and also provides an overview for large projects. The Rank Math SEO plugin is recommended for WordPress.

What influence does the status code 302 have on SEO?

The status code 302 gives the search engine crawler a hint and at the same time a request. On the one hand, the desired page is displayed to the visitor and, on the other, the redirect is not permanent. This means that the new content is ignored and nothing is changed in the indexing.

Bist Du bereit Deinen Online-Erfolg zu steigern?
Unsere Tipps im Blog sind nur der Anfang. Wenn du echtes Wachstum willst, buche dein kostenfreies Erstgespräch mit unseren SEO-Experten – individuell, ehrlich und auf dein Business abgestimmt.
Kontakt aufnehmen
team image
Do you want to be at the forefront online?

Then now is the right time! Together we will turn your website into your strongest sales channel - with a clear strategy and measurable growth.

Get free advice

Are you ready for rocket growth?

Arrange your personal consultation now and find out how we can help you get ahead in search engine marketing. Whether you run a small company or are responsible for a large corporation - we will find the right solution for you.

Contact us now

Discover related articles

Creating a Site Map — Instructions for Your Website

Blog

David Hahn

05.12.2025

1 minute

30 Statistics on the Importance of Link Building

SEO

David Hahn

31.07.2025

4 Minutes

Disavow — Backlink analysis and devaluation explained simply

Lexikon

David Hahn

31.07.2025

3 Minutes

Rank 1 Google: How to reach the top

SEO
Blog

David Hahn

25.07.2025

14 minutes