Hi, I'd like to know if there is a way to redirect all 404 to the closest relevant page, (only in case I didn't set specific redirect)
in the case of 404 redirects to:
in the case of 404 redirects to the product type collection:
I'd like to redirect collections 404's to the home page if possible.
Also, is it possible to hide out of stock products from all collections but keep them published on the online store?
You can personalize 404 page to your liking, it's a great practice to have it setup. If you want a redirect, simply setup 301 redirect from each inactive page to the page of your choice - so instead of error page, your visitors will see an alternative page, that's the best way to implement what you are after.
Product needs to be in a collection, simply pick a collection unlisted and voila you have a searchable product yet unlisted in any visible category. Hope that helps!
Rock Paper Copy
Get exclusive access to SEO tips and traffic building strategies (it's free) - Subscribe to my daily newsletter!
Skyrocket your traffic with social media marketing
With the out of stock idea. Maybe not hide, but move them to the end of the list.
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022