How to fix meta refresh on Adobe Commerce (Magento)
Remove or disable the `<meta http-equiv="refresh">` tag that forces an automatic page reload, or replace any redirect use-case with a server-side redirect instead.
Steps for Adobe Commerce (Magento)
- SSH into the server or use your IDE to open the theme's root layout file, typically `app/design/frontend/<Vendor>/<theme>/Magento_Theme/layout/default_head_blocks.xml` or the base theme's `default.xml`.
- Search all layout XML files and `.phtml` templates for `http-equiv` and remove the relevant `<block>` or inline `<meta>` tag.
- If the redirect is set via a CMS page's 'Custom Layout Update' XML field, go to Content → Pages → Edit the page → Design → Layout Update XML and remove the meta tag there.
- For proper redirects, use Stores → Configuration → Web → URL Options, or add a server-level redirect in your `.htaccess` / Nginx config (e.g., `Redirect 301 /old-path /new-path`).
- Run `bin/magento cache:flush` and re-scan the page.
What is meta refresh?
A `<meta http-equiv="refresh">` tag in the `<head>` of a page tells the browser to automatically reload the current page — or jump to a different URL — after a set number of seconds, without the visitor doing anything. For example, `<meta http-equiv="refresh" content="10">` reloads the page every 10 seconds. WCAG Success Criterion 2.2.1 (Timing Adjustable) requires that any time limit on content can be turned off, adjusted, or extended by the user — and an automatic meta-refresh gives visitors no such control.
Automatic page refreshes are disorienting and harmful for people with disabilities. Screen-reader users lose their place in the page; people with cognitive or motor disabilities may not finish reading or complete a form before the page reloads or redirects them. Failing WCAG 2.2.1 exposes your store to legal risk under accessibility laws such as the ADA (US), EAA (EU), and AODA (Canada). Search engines also flag unexpected client-side refreshes as a poor signal — a proper server-side redirect is faster and more reliable for SEO. Removing this tag improves user experience, reduces legal exposure, and can marginally improve crawl efficiency for your product pages.
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 scan — we’ll find meta refresh and every other issue across your whole site.
Scan my site free