Urgent: Shopify Collection Page Not Showing 404 Error – Need Fix!

Urgent: Shopify Collection Page Not Showing 404 Error – Need Fix!

Digital_Imran
Shopify Partner
289 2 43

Hello everyone, hope you're all doing great!

I'm facing an issue with my collection page. It doesn't show a 404 error even when I enter an incorrect URL.

For example, my collection URL is:
https://www.mjoutdoorsgear.co.uk/collections/fixed-blade-knives

If I modify it to:
https://www.mjoutdoorsgear.co.uk/collections/fixed-blade-knives/lol

Instead of showing a 404 error page, it still redirects to the same collection page.

 

Does anyone have a solution for this? I would greatly appreciate any help. Thanks in advance!

Problem Solved? ✔Accept and Like solutions to help future merchants.

Do you need high converting Shopify store? with customized graphical banners, hire me.
Message me now to get started. My response time is lightning fast.
Reply 1 (1)

promfly
Shopify Partner
19 1 0

Hey! This behavior is actually how Shopify handles collection URLs by default. When you add anything extra after the correct collection URL (like /lol in your example), Shopify ignores it and still loads the main collection page instead of showing a 404 error.

Unfortunately, there’s no built-in setting to change this behavior. However, if you really want invalid URLs to show a 404 page, you might need to use custom code or set up URL redirects in your Shopify settings. Another option is using Liquid code in your theme to check for invalid URLs and manually trigger a 404 page.

Need a Shopify developer?
Hire us at Promfly
or call us at +917303881503 For Shopify Design Changes | Shopify Custom Coding | Custom Modifications