How to fix meta refresh on Adobe Commerce (Magento)
Remove or disable any `<meta http-equiv="refresh">` tag that automatically redirects or reloads the page in under 20 hours.
Steps for Adobe Commerce (Magento)
- Connect to your server via SSH or SFTP and search your active theme directory (app/design/frontend/<Vendor>/<theme>/) for the string 'http-equiv' using: `grep -r 'http-equiv' app/design/frontend/`
- Also search the base Magento layout files: `grep -r 'http-equiv' vendor/magento/` to confirm whether the tag originates from core, a module, or your theme.
- If found in a theme file such as 'Magento_Theme/layout/default_head_blocks.xml' or a '.phtml' template, edit that file to remove the `<meta http-equiv="refresh" ...>` block.
- If a third-party extension is responsible, identify it from the grep results and either configure it to disable the meta-refresh or remove the extension.
- For URL redirects, use Admin → Marketing → SEO & Search → URL Rewrites to create a proper 301 redirect instead.
- After making changes, flush the Magento cache: Admin → System → Cache Management → Flush Magento Cache, then verify the page no longer auto-refreshes.
<!-- REMOVE this tag entirely: -->
<!-- <meta http-equiv="refresh" content="10"> -->
<!-- <meta http-equiv="refresh" content="0; url=https://example.com/new-page"> -->
<!-- For URL redirects, use a server-side HTTP redirect instead.
In Apache (.htaccess): -->
<!-- Redirect 301 /old-page https://example.com/new-page -->
<!-- In Nginx: -->
<!-- return 301 https://example.com/new-page; -->What is meta refresh?
A `<meta http-equiv="refresh">` tag is a snippet of HTML code that can be placed in the `<head>` of a web page to automatically reload the current page — or send visitors to a different URL — after a set number of seconds. For example, `<meta http-equiv="refresh" content="10">` reloads the page every 10 seconds without the visitor doing anything. WCAG Success Criterion 2.2.1 (Timing Adjustable) requires that any such automatic time limit can be turned off, adjusted, or extended by the user — and a silent, instantaneous meta-refresh gives users no such control.
Automatic page refreshes are disorienting and actively harmful for users with cognitive disabilities, motor impairments, screen-reader users, and anyone who reads slowly or uses assistive technology — a sudden reload can interrupt a screen reader mid-sentence, lose a user's place on the page, or clear a partially filled form. This violates WCAG 2.1 Success Criterion 2.2.1 at Level A — the most basic conformance tier — creating legal accessibility risk under laws like the ADA (US), EN 301 549 (EU), and the Equality Act (UK). Beyond accessibility, Google's crawlers and ranking signals also penalise pages that redirect or refresh unexpectedly, which can suppress your organic search rankings. Removing the tag costs nothing and immediately eliminates all of these risks.
See the complete Meta refresh guide for every platform and the full background.
Not sure if your Adobe Commerce (Magento) store has this?
Run a free SEOLZ audit — we’ll find meta refresh and every other issue across your whole site.
Scan my site free