Meta refresh redirect

Also known as: meta refresh

On this page 7

A meta refresh redirect is a client-side redirect declared inside an HTML page, using a meta element with the http-equiv value refresh and a content value that combines a delay in seconds with a target URL, for example content="0; url=https://example.com/new/". In technical SEO it is considered a fallback method: it works when the server configuration cannot be changed, but it is slower, less explicit and less reliable than a server-side 301 redirect.

Because the browser must first download and parse the original page before it follows the instruction, a meta refresh always costs an extra round trip. Search engines can interpret an instant meta refresh as a permanent redirect, while a delayed meta refresh is usually treated as a temporary one, which affects which URL appears in the index.

How a meta refresh redirect works

A meta refresh redirect works by instructing the browser to load a different URL once the current document has been received. The server answers with an ordinary 200 OK status code and an HTML document; the redirect instruction exists only in the markup, usually in the head section, so it is invisible at the HTTP layer.

The content attribute holds two parts separated by a semicolon. The number sets the delay before navigation, and the url parameter names the destination. A value of 0 triggers navigation almost immediately, while larger values display the original page first. Without a URL, the instruction simply reloads the same page, a technique once used for live scoreboards.

The sequence below shows what happens in a browser and in a search engine crawler.

  1. The client requests the old URL and receives 200 OK with HTML.
  2. The parser reads the meta element and starts the refresh timer.
  3. After the delay, the client requests the target URL as a new navigation.
  4. A crawler records the instruction and decides whether to consolidate signals to the target.

How search engines interpret meta refresh

Search engines interpret a meta refresh according to its delay value. Google has stated that an instant meta refresh is treated much like a permanent redirect, and a delayed one much like a temporary redirect. In the first case the target URL usually becomes canonical; in the second the original URL may remain in the index.

Processing is also less certain than with HTTP redirects. The crawler must fetch and parse the HTML, and some crawlers, link checkers and social media preview tools ignore the instruction altogether. Bing has long recommended server-side redirects instead, and accessibility guidelines discourage timed refreshes because users lose control over navigation.

VariantTypical search engine readingUser experience
Delay of 0 secondsSimilar to a permanent redirectBrief flash of the old page
Delay of 1 to 5 secondsAmbiguous, often temporaryVisible interstitial page
Long delayTreated as temporary or ignoredUsers may leave or click manually
Refresh without a URLNo redirect, same page reloadsRepeated reloads, poor accessibility
Meta refresh variants and their typical interpretation

Meta refresh compared with other redirect types

Compared with other methods, a meta refresh sits below HTTP redirects and roughly alongside JavaScript redirects in reliability. A 301 redirect or 308 redirect communicates permanence in the response header before any content loads, so crawlers and browsers can act on it immediately and with full confidence.

JavaScript redirects depend on rendering in the Web Rendering Service, which can delay discovery. A meta refresh does not require JavaScript execution, which makes it slightly more robust than a script redirect, but both should be reserved for cases where server configuration is unavailable.

MethodLayerSignal strengthRecommended use
301 or 308 redirectHTTP responseStrong, permanentMoved content and site migration
302 or 307 redirectHTTP responseStrong, temporaryShort-term changes and tests
Instant meta refreshHTML documentModerate, permanent-likeStatic hosting without server access
JavaScript redirectRendered pageWeaker, rendering-dependentLast resort in client-side apps
Delayed meta refreshHTML documentWeak, temporary-likeRarely justified
Redirect methods ranked for SEO

When a meta refresh is acceptable

A meta refresh is acceptable only when a server-side redirect is impossible. The classic cases are static hosting platforms that serve files without configurable rewrite rules, legacy content management systems, and documentation exported as plain HTML files.

When it must be used, the delay should be zero, the target should be an absolute URL, and the old page should also carry a canonical link to the target plus a visible text link for users and tools that ignore the refresh. Internal linking should be updated so that crawlers reach the destination directly.

SituationRecommended choiceReason
Full server or CDN access301 redirectFastest and clearest signal
Static host without rulesInstant meta refresh with canonicalBest available consolidation
Edge functions availableRedirect at the edgeServer-grade response without origin changes
Single-page application onlyMeta refresh before JavaScriptWorks before rendering
Decision guide for redirect implementation

Common mistakes with meta refresh redirects

The most damaging mistakes involve delays, chains and loops. A delayed refresh leaves both URLs competing in search results, and pointing a refresh at a page that itself redirects creates chains that waste crawl budget or end in a redirect loop.

  • Using a delay for a permanent move, which keeps the old URL indexed.
  • Relative or malformed URLs in the content value, which some clients resolve incorrectly.
  • Forgetting the fallback link, leaving users stuck when the refresh is blocked.
  • Leaving meta refresh in place after migration when server redirects become possible.
  • Placing the instruction late in a large page, which delays navigation further.

In everyday language

A meta refresh redirect is like a note pinned to an old shop door saying the business has moved. Visitors must walk up to the door, read the note and then go to the new address. A proper server redirect is more like the post office forwarding mail automatically before it ever reaches the old door.

The note works, but it is slower and some people never read it. Search engines prefer the automatic forwarding, so the note should be used only when nothing better is possible.

Seen in the real world

A university research group hosts its project documentation as plain HTML files on a static hosting service that offers no redirect rules. After restructuring the site, 40 old pages need to point to new locations, and the group cannot change the server configuration.

The maintainers replace each old page with a minimal HTML file containing an instant meta refresh with a delay of 0, an absolute target URL, a canonical link to the new page and a short visible link. They also update internal links and the sitemap. Within several weeks, search results show the new URLs for almost all pages, and the outcome is successful consolidation without server access, although a later move to a host with 301 support remains on the plan.