Skip to content

Welcome guest

Please login or register

Recommended products

How To Redirect Your 404 Page

How To Redirect Your 404 Page

How To Redirect Your 404 Page To The Home Page In Shopify

Reduce bounce rate by redirecting all your 404 not found pages to the main page of your online shop. This will allow consumers to find more valuable material on your site.


I'll walk you through the process of redirecting your Shopify 404 page to your home page in this post.

  • From your Shopify admin, go to Online Store > Themes.
  • Find the theme you want to edit, and then click Actions > Edit code.
  • In the Templates directory, click 404.liquid.
  • Removing all existing code, then inserting the below code to this file

{% layout none %}<script>window.location.replace("/");</script>
  • Click Save and you are done.

Try 14 day free trial on Shopify today

How to remove ‘Powered by Shopify’ from your store
How to resend order notification emails

Your Cart

Join the 1,000+ customers who have trusted Ecomify to help build their Shopify stores.

Your Cart is empty
Let's fix that

You might like...