HTTP (HyperText Transfer Protocol)
Last updated
HTTP, or HyperText Transfer Protocol, is the set of rules that browsers and web servers use to exchange pages, images and data across the internet.
When you open a page, the browser sends a request ("give me this page"), and the server sends back a response with a status code such as 200 (OK), 301 (moved) or 404 (not found), followed by the content. Plain HTTP is not encrypted, so modern sites use HTTPS, which adds protection.
Examples
- A request for /contact-us/ answered with a 200 and the page.
- An old address answered with a 301 that points to the new one.
- A missing page answered with a 404.
Why it matters for your website
You rarely handle HTTP directly, but status codes explain many problems: a wrong redirect, a missing page or an error on the server. Make sure your site uses HTTPS everywhere and returns the right code for each case.