Meta Tag
A meta tag is hidden HTML code that tells search engines and browsers what a webpage is about. Learn the types and how to use them.
A meta refresh redirect is a client-side HTML instruction placed inside the <head> of a webpage that tells the browser to automatically navigate to a different URL after a specified number of seconds.
A meta refresh redirect is a client-side HTML instruction placed inside the <head> of a webpage that tells the browser to automatically navigate to a different URL after a specified number of seconds. It uses the <meta> element with the http-equiv attribute set to "refresh" and a content attribute that defines both the delay time and the destination URL.
For example, this tag redirects to https://example.com/new-page after 5 seconds:
<meta http-equiv="refresh" content="5; url=https://example.com/new-page">
0 and the redirect fires as soon as the browser parses the tag — making it an instant meta refresh:<meta http-equiv="refresh" content="0; url=https://example.com/new-page">
On this page
Every meta refresh tag sits inside the <head> section of an HTML document. The browser parses it before rendering visible page content, which is why the tag should be placed as high in the <head> as possible — ideally right after the opening <head> tag.
<meta> element — identifies this as document-level metadata, not visible content.http-equiv="refresh" attribute — tells the browser to treat this tag as if the server sent a Refresh HTTP header. It is the mechanism that bridges HTML and HTTP-level behavior.content attribute — contains two pieces of information separated by a semicolon:url= parameter specifying the destination URL.The most frequent implementation mistake is omitting the semicolon between the time integer and the URL string. When that semicolon is missing, the browser misinterprets the entire content value as a single command and the redirect fails silently. Another error is placing the <meta> tag inside the <body> instead of the <head>, which causes the browser to render page content before parsing the redirect directive — creating a jarring user experience.
| Type | content value | Behavior | How Google Interprets It |
|---|---|---|---|
| Instant meta refresh | 0; url=... | Redirect fires immediately after the browser parses the tag | Permanent redirect (like a 301) |
| Delayed meta refresh | 1 or higher; e.g., 5; url=... | Browser loads the page, waits the specified number of seconds, then navigates | Temporary redirect (like a 302) |
The timing distinction matters: an instant (0-second) refresh passes stronger canonical signals than a delayed one, which Google may treat as a soft 404 if it cannot confirm the redirect intent.
The user experience of a meta refresh redirect depends entirely on the delay value:
Some browsers allow users to disable meta refresh behavior entirely in their settings. When disabled, a delayed redirect never fires, and the visitor remains stuck on the original page unless a manual fallback link is provided. This is one reason why relying on meta refresh for critical navigation is risky.
.htaccess, Nginx configs, or server-side routing — for example, on a static HTML site hosted on a CDN with no edge-function support — a meta refresh is a functional fallback..htaccess files, making server-side redirects fragile. A meta refresh embedded in the page itself survives those overwrites.| Feature | Meta Refresh | 301/302/307/308 Server-Side |
|---|---|---|
| Where it executes | Browser (client-side) | Server |
| Speed | Slower — page must load first | Faster — redirect happens before page load |
| Link equity transfer | Unreliable; instant refresh passes some, delayed passes little or none | 301/308: reliable; 302/307: not intended for permanent moves |
| Search engine processing | Requires HTML parsing; slower to detect | Immediate from HTTP status code |
| User experience | Can confuse users; back-button issues | Seamless; users rarely notice |
| Requires server access | No | Yes |
| Browser support | Not universal; can be disabled by user | Universal |
A 307 (Temporary Redirect) and 308 (Permanent Redirect) are HTTP-status-code redirects that preserve the original request method. If a browser sends a POST request to /old-page and the server responds with a 307, the browser repeats the POST to the new URL. A 302 or 301, by contrast, may change the method to GET. Meta refresh redirects always result in a GET request to the destination URL, regardless of how the original page was accessed. This is another reason server-side redirects are preferred for form submissions and API endpoints.
Search engines parse meta refresh tags during HTML rendering, which adds a step compared to server-side redirects that are processed at the HTTP level. Google has confirmed that instant (0-second) meta refresh redirects function similarly to permanent redirects, while delayed ones are treated as temporary signals. However, Google also acknowledges that it can make mistakes: a meta refresh may be interpreted as a soft 404 if the search engine cannot confirm the redirect intent, causing the original URL to remain in the index alongside the destination.
Meta refresh redirects do not pass link equity as reliably as 301 redirects. For affiliate marketers and site owners tracking referral traffic, this uncertainty can mean lost ranking signals for the destination page.
Meta refresh redirects have historically been used by spammers to funnel users to unrelated pages while showing search engines different content. As a result, sites that use meta refresh extensively may be scrutinized more closely by search quality algorithms. If your site audit flags a “meta refresh redirect” as a critical issue — as Ahrefs and Sitebulb do — it is worth replacing it with a server-side alternative wherever possible.
Affiliate programs rely on redirects to track clicks, attribute conversions, and route users through offer pages. These are fast, reliable, and pass referral data without interruption.
A meta refresh redirect might appear in an affiliate workflow when:
.htaccess for Apache, nginx.conf for Nginx, or your CMS redirect manager).href to the new destination.If you land on a page and are automatically sent to a different URL, you are likely encountering one of these scenarios:
To check which type you are experiencing, open your browser’s developer tools (F12), go to the Network tab, and look at the status code of the first request. A 301 or 302 confirms a server-side redirect. If the page loads with a 200 status and then navigates, you are seeing a client-side redirect — either meta refresh or JavaScript.
Explore key affiliate marketing concepts and best practices in our comprehensive glossary to enhance your marketing expertise.
A meta tag is hidden HTML code that tells search engines and browsers what a webpage is about. Learn the types and how to use them.
A redirect link automatically sends visitors from one URL to another. Learn how redirects work, the types, and best practices.
A meta title is the HTML title tag that names a webpage and appears as the clickable headline in search results and browser tabs.
Cookie Consent
We use cookies to enhance your browsing experience and analyze our traffic. See our privacy policy.