Download our Free HTML Cheat Sheet - Quick Reference for Beginners

Redirect link generator

If you've moved your webpage but would like visitors to be automatically redirected to the new url, you can use a meta refresh tag to forward them to the new page. Use this Redirect Link Generator to create the meta-refresh tag for you, then copy and paste the code into the head section of the page you want to redirect. The same tag can also make a page auto-refresh itself on a timer instead of redirecting elsewhere - handy for a live status board, ticker or dashboard page - and this generator can build that version too.

Forwarding details

What should this code do?

Choose Auto-refresh this same page for a live status board, ticker or dashboard page that should keep reloading itself on a timer, with nowhere else to send visitors.
URL to forward to:
Seconds before forwarding:
Output type:

Use Full HTML page for a brand new, blank page that has no content of its own yet - it includes the doctype, head and body. Use Just the tag to paste into the <head> of a page that already has content, without touching the rest of that page's markup.
Page content to show before forwarding:
The URL of this page has been changed. Please update your bookmarks.
Format the text as it should appear on the page - select some text first to color or align just that part, or leave nothing selected to apply it to what you type next.
Fill in the form, then click Generate to get your redirect code.
</>
Your redirect code will appear here

About meta refresh redirects

A meta refresh is an HTML tag placed in a page's <head> that tells the browser to load a different URL after a set number of seconds - it needs no server configuration or JavaScript, which makes it the simplest way to redirect visitors on hosts where you can't set up a proper server-side redirect.

It's commonly used when a page has moved to a new URL, when a whole website has moved to a new domain, or when a site is being retired and visitors need pointing somewhere else. Setting a short delay with a visible message (rather than 0 seconds) gives returning visitors and old bookmarks a chance to see what happened before they're sent on.

Building with a JavaScript framework? Switch the output format to Next.js, Nuxt or Remix syntax after generating your redirect, instead of a meta refresh tag - a real server-side redirect, not a client-side HTML fallback.

Auto-refreshing a page instead of redirecting it

The exact same tag can also make a page reload itself instead of sending visitors elsewhere - just leave out the destination URL. This self-refreshing setup is a simple way to keep a live status board, ticker, scoreboard or basic dashboard page up to date without writing any JavaScript: the page just quietly reloads on the timer you set, picking up whatever's changed on the server since the last load. Choose Auto-refresh this same page above and this generator builds that version for you.

Frequently asked questions

Does a meta refresh redirect hurt SEO?

A meta refresh with a delay of a few seconds is generally treated by search engines as a redirect, but it passes less ranking value than a server-side 301 redirect and Google explicitly recommends against it when you control the server. Use a meta refresh when you can't set up a server redirect (e.g. on a host that doesn't give you .htaccess access) - otherwise a 301 is the better choice.

How long should the delay be?

0 seconds redirects immediately with no message shown. A short delay (3-5 seconds) is worth using if you want visitors to actually read the "this page has moved" message before they're sent on - useful for bookmarked pages or old links people return to.

Where do I paste the generated code?

Inside the <head> section of the page you want to redirect from - the old page, not the new one. The visible message (if you set a delay) goes in the page body and is what people see before they're forwarded.

Will this work on every browser and device?

Yes - meta refresh is supported by every modern browser, desktop and mobile alike, and needs no JavaScript to work once it's on the page.

Can I make a page auto-refresh itself instead of redirecting?

Yes - choose "Auto-refresh this same page" above and leave out a destination URL. The generated tag reloads the current page on the interval you set, which is a simple no-JavaScript way to keep a status board, ticker or dashboard page showing current data.