Hi everyone,
I’m trying to find a way to handle 404 pages more efficiently on my Shopify store. Ideally, I’d like to dynamically redirect users (with a redirect 301) from 404 pages to another page.
I know I can create manual URL redirects in the admin, but is there any way to automate this for pages that return 404 errors?
I’ve considered using JavaScript in the 404.liquid template, but since that would be a client-side redirect, it wouldn’t count as a true 301 for SEO purposes.
Is there any workaround or app that allows server-side 301 redirects based on the requested URL? Preferibly without using any app, but if it’s not any other way, using any app.
Thanks in advance!