Skip to content

Welcome guest

Please login or register
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...

Recommended products

  • Cart Drawer for Dawn 5.0 Theme

    €0,95

  • Upsell Product Checkbox

    €0,00

  • Advanced Announcement Bar For Dawn Theme Only

    €18,95

  • Custom HTML & Custom Liquid Snippet

    €18,95

  • custom line item properties

    €23,95

  • Custom Page Sections Tutorial

    €0,95

  • Cart Drawer for Crave Theme

    €0,95

  • Accordion Footer for Dawn Theme Only

    €18,95

  • Frequently Bought Together For Dawn Theme

    €0,95

  • Animated Stories

    €23,95