Nothing yet — inputs you run here are remembered on this device.
Result appears here as you type
Nothing yet — inputs you run here are remembered on this device.
Result appears here as you type
Updated 2026-07-26
HTTP 301 Moved Permanently tells the browser — and every search engine — that a URL has moved for good and future requests should go straight to the new address. It's the correct code whenever a page, domain, or URL structure changes permanently and you want ranking signals to carry over.
Reach for 301 for permanent moves: URL restructures, domain migrations, or retiring an old path in favor of a new one. If the redirect is only temporary — a maintenance page, an A/B test, a seasonal promotion — use 302 instead, so search engines keep the original URL indexed. For every other status code at once, use the full HTTP Status Codes reference.
301
301 Moved Permanently — Redirection (3xx). The resource has permanently moved to a new URL.
302
302 Found — a TEMPORARY redirect; the original URL should stay in search results and bookmarks.
curl -X POST https://thesnaptools.com/api/v1/tools/http-301 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"301"}'