Shopify Tutorials: How To Modify Meta Tags for 404 Page

Shopify Tutorials: How To Modify Meta Tags for 404 Page

This is how you can modify the meta tags for the 404 page in shopify site. Paste the following code in the head tag of theme.liquid file.

{% if template == '404' %}

<!-- Meta Tags -->

{% endif %}

How to redirect 404 page to home page in shopify?

Here is the Code to redirect 404 pages in shopify

{% if template == '404' %}<meta http-equiv="refresh" content="0;URL={{ shop.url }}" />{% endif %}

Comment below if you have any doubts or the issue

No Comments

Leave a Reply