HTTP 301 Moved Permanently

An old server’s port is capped and the cable is permanently routed to its replacement

HTTP 301 Moved Permanently says the resource has moved to a new permanent URI. The server should provide the new address in Location. A browser or intermediary cache can remember the redirect when the response permits it.

Check the entire redirect path

An old product path might redirect to its replacement or an HTTP URL might redirect to HTTPS. Record each status and Location. If you operate the site, confirm that the first redirect uses the intended public host and that the final route serves the resource.

Why a working proxy can show 301

TestMyProxies leaves redirects unfollowed. To check for content on the destination you control, enter that destination URL. For a permanent redirect of an API write, check how the client handles the method. Some clients change POST to GET on 301. 308 Permanent Redirect preserves the method.

Follow one permanent move on paper

> GET /guides/old-path HTTP/1.1
< HTTP/1.1 301 Moved Permanently
< Location: /guides/new-path/
> GET /guides/new-path/ HTTP/1.1
< HTTP/1.1 200 OK

The original resource redirects to the replacement, and the replacement delivers the page. In a one-step proxy test you can record the first status against the old URL and test the destination separately. If the old address is still listed in navigation or a sitemap you control, switch those links to the final address so a new visitor can get there in one request.

Diagnose a permanent redirect that persists after an update

Check the same URL in a fresh browser profile and inspect a direct request and the proxied route. A stored 301 in a browser or intermediary can continue pointing at the old location. If the origin sends the new rule but the edge still issues the old one, inspect the edge cache and redirect configuration. Keep the old and new values of Location in your notes so you can tell whether a later hop is still redirecting.

RFC 9110.

All HTTP status codes · All proxy testing guides · Open the proxy tester