.htaccess Redirect Generator
Generates .htaccess redirect rules for pages, HTTPS, www, and domain moves.
Create an HTML page that sends visitors to a new URL when you can't set up a server redirect, for example on GitHub Pages or basic static hosting. You get the meta refresh tag, a JavaScript fallback, and a complete page.
<meta http-equiv="refresh" content="0; url=..."> tells the browser to load the new address after the given number of seconds.location.replace(), which doesn't add the old page to the browser history, so the Back button works as expected.rel="canonical" link points search engines at the new URL, and noindex keeps the old page out of results.http and https targets are accepted, so the page can't be turned into a script link.<meta http-equiv="refresh" content="0; url=https://example.com/new-page">
JavaScript version: location.replace("https://example.com/new-page");
An instant one is understood by Google as a permanent redirect. A server-side 301 is still cleaner and faster, so prefer it when you can.
On hosts where you can't edit server config, such as GitHub Pages, some site builders, or a plain file host.
location.replace() keeps the old page out of the Back button history, and it helps where meta refresh is disabled.
No. The page is built in your browser.
Often used together with the Meta Redirect Generator.
Generates .htaccess redirect rules for pages, HTTPS, www, and domain moves.
Breaks a URL into its parts and lets you edit query parameters.
Creates robots.txt rules for search and AI crawlers and tests URLs against them.