⊗inhpAdvRd 17 of 29 menu

HTTP redirects

When a client accesses a server at a particular URL, the server can perform a redirect by returning a status code starting with 3.

When the client receives the redirect response, it uses the new URL provided and immediately loads it. The address to navigate to is specified in the Location HTTP header.

Let's look at an example. Let's say the client makes the following request:

GET /page.html HTTP/1.1

Let the server respond with a redirect:

HTTP/1.1 301 OK Location: /test.html

Review the list of redirect status codes.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline