Which HTTP Redirect Should I Use?
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://statuscodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/entity//)
Use the native HTML custom element.
Choosing the wrong redirect code can break bookmarks, harm SEO, or silently change POST requests to GETs. This decision tree walks you through permanence, method preservation, and client behavior to select the correct 3xx code for your use case.
Decision Steps
Is this redirect permanent (the old URL will never be used again)?
Must the HTTP method be preserved (e.g., a POST to the old URL should POST to the new URL)?
Must the HTTP method be preserved (e.g., a POST should remain a POST at the new location)?
Are you redirecting after a POST (form submission) to a GET page to prevent duplicate submissions (Post/Redirect/Get pattern)?