Page structure and navigation

What happens when a page does not exist?

A reader needs to recognise a broken link. An address that does not exist should return a clear missing-page response.

Source review

Link text, Read more, Destination unclear. Link text, Return policy, Destination named.
Which link leads to returns?

What to do

Return an appropriate error status with a useful explanation and recovery route. Keep valid moved content on an intentional redirect.

Practical example

A nonexistent product path should not silently return the homepage with HTTP 200.

Implementation example

HTTP/1.1 404 Not Found
Content-Type: text/html; charset=utf-8

Adapting the example

Serve a useful error document with this response. Choose a redirect when the content has intentionally moved, and an appropriate missing status when it has not.

How to verify the result

Request a reserved nonexistent address and compare its status and content with a known valid page.

What this check cannot prove

A syntactically valid link or landmark is one observation. A browser task must establish whether the route reaches the intended result.

Where this advice comes from

The linked primary guidance informs these steps. Anonymous Analysts defines the test interpretation and its acceptance criteria.

Sources and standards