Shopify automatically generates 404 pages with the extensions en-gb

Solved

Shopify automatically generates 404 pages with the extensions en-gb

pratikiscom
Shopify Partner
3 0 0

Hi everyone

 

Whenever I create a new product, Shopify automatically generates 404 pages with the extensions en-gb and en-tr . although the market and multi-language settings are closed.
 
products/sample-item  This page exists
en-gb/products/sample-item This page does not exist. it gives 404
 
Google Search Console always sees these as 404.
 
I need support with this problem. How can I solve it? Can I get support?   
 
Is there anyone experiencing this problem? Please.
Accepted Solution (1)

DaisyVo
Shopify Partner
4447 495 591

This is an accepted solution.

Hi @pratikiscom 

I see you're dealing with Shopify automatically generating 404 pages with en-gb and en-tr extensions, even though your market and multi-language settings are turned off. That’s frustrating, especially when Google Search Console keeps flagging them as errors. Let’s break this down and find a fix.

Why This Happens

Even if you have markets and multi-language settings disabled, Shopify might still generate locale-specific URLs due to past configurations, theme settings, or cached settings. These URLs (en-gb/products/sample-item, etc.) don’t exist, so they return 404 errors.

How to Fix It

Here’s what you can do:

1. Check Your Shopify Markets & Language Settings

Even if you believe they’re off, double-check:

  • Go to Settings > Markets and ensure there are no additional markets enabled.
  • Go to Settings > Languages and make sure only your default language is active.

If you see en-gb or en-tr as active, disable them and clear your cache.

2. Force Shopify to Redirect 404 URLs

You can manually redirect the broken URLs to the correct product pages:

  • Go to Online Store > Navigation > URL Redirects.

Add a redirect like:

From: /en-gb/products/sample-item  

To: /products/sample-item

  • Repeat this for en-tr and any other affected locales.

3. Block These URLs in Robots.txt (If They Keep Appearing)

If Google still crawls these URLs, block them in robots.txt:

1-Go to Online Store > Themes > Edit Code.

Open robots.txt.liquid and add:
makefile
CopyEdit
User-agent: *

Disallow: /en-gb/

Disallow: /en-tr/

2-Save and test it using Google’s Robots Testing Tool.

4. Remove URLs from Google Search Console

After fixing the issue, go to Google Search Console > Indexing > Removals and request Google to remove these invalid URLs.

Final Thoughts

Try these steps, and Shopify should stop generating unnecessary 404s. If you need extra help, just let me know asap. Thanks

Daisy.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

View solution in original post

Reply 1 (1)

DaisyVo
Shopify Partner
4447 495 591

This is an accepted solution.

Hi @pratikiscom 

I see you're dealing with Shopify automatically generating 404 pages with en-gb and en-tr extensions, even though your market and multi-language settings are turned off. That’s frustrating, especially when Google Search Console keeps flagging them as errors. Let’s break this down and find a fix.

Why This Happens

Even if you have markets and multi-language settings disabled, Shopify might still generate locale-specific URLs due to past configurations, theme settings, or cached settings. These URLs (en-gb/products/sample-item, etc.) don’t exist, so they return 404 errors.

How to Fix It

Here’s what you can do:

1. Check Your Shopify Markets & Language Settings

Even if you believe they’re off, double-check:

  • Go to Settings > Markets and ensure there are no additional markets enabled.
  • Go to Settings > Languages and make sure only your default language is active.

If you see en-gb or en-tr as active, disable them and clear your cache.

2. Force Shopify to Redirect 404 URLs

You can manually redirect the broken URLs to the correct product pages:

  • Go to Online Store > Navigation > URL Redirects.

Add a redirect like:

From: /en-gb/products/sample-item  

To: /products/sample-item

  • Repeat this for en-tr and any other affected locales.

3. Block These URLs in Robots.txt (If They Keep Appearing)

If Google still crawls these URLs, block them in robots.txt:

1-Go to Online Store > Themes > Edit Code.

Open robots.txt.liquid and add:
makefile
CopyEdit
User-agent: *

Disallow: /en-gb/

Disallow: /en-tr/

2-Save and test it using Google’s Robots Testing Tool.

4. Remove URLs from Google Search Console

After fixing the issue, go to Google Search Console > Indexing > Removals and request Google to remove these invalid URLs.

Final Thoughts

Try these steps, and Shopify should stop generating unnecessary 404s. If you need extra help, just let me know asap. Thanks

Daisy.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution