Skip to content

Glossary: System Design Basics in PHP

Redirect

Also written: redirects, Location header

A 301 or 302 response that sends the browser to another URL, given in a `Location` header. 301 means moved for good (browsers may skip your server next time); 302 means moved for now, so every click returns to you and can be counted.

Where the book teaches it

Related terms

HTTP status codesURL shortener