HTML Redirect Code Generator
Generate a meta refresh redirect for cases where you cannot touch the server, with an optional delay and an honest note on its downsides.
How to use it
- Enter the destination — and the old path where the method needs one.
- Choose 301 for a permanent move or 302 for a temporary one.
- Copy the generated code into the right place for your server or page.
A meta refresh is a redirect written into the page itself rather than the server response: a <meta http-equiv="refresh"> tag inside <head> tells the browser to load a different URL after a set number of seconds. It exists for one reason — you can add it to a page's HTML without touching server configuration, which matters on shared hosting, static file hosts, or CMS platforms where you cannot edit .htaccess or server config at all.
Set the delay to 0 and the redirect fires immediately, though the browser still has to load and parse the placeholder page first, so it is never as fast as a genuine server-side redirect.
Why it is the weakest option
A meta refresh loses PageRank in a way a proper 301 does not — search engines have historically treated an instant meta refresh similarly to a permanent redirect, but the signal is weaker and less consistent than an actual HTTP 301 status code, and a delayed one is treated more like a temporary move. It also breaks the back button: navigating back from the destination page lands on the redirect page, which immediately sends the visitor forward again, trapping them in a loop.
Use it only when a server-side redirect genuinely is not available to you. If you can add a line to .htaccess, an nginx config, or a PHP header, that is always the better choice — see the other redirect generators here for those.
Questions people ask
Is a meta refresh bad for SEO?
It is the weakest option. Search engines may treat an instant meta refresh as a 301, but they may not. Use a server-side redirect whenever you can.
Is anything uploaded?
No. Everything runs in your browser — no file, image or snippet you use here ever leaves your device.
Last updated 22 August 2026