I am in the UK and only serve the UK so I have been updating United Kingdom when customizing my Shopify website.
I have recently found out from checks in Google search console that the default version has been getting indexed so all of my website copy and SEO efforts have not been shown to Google.
Looking at my code there are 2 different templates for everything, a default version and a “context.gb” version. The “context.gb” version is being presented to my customers but the default version is being indexed by Google.
I will copy everything from my United Kingdom version to the default version. I only have 1 version of URL’s and want to keep it this way.
-
Is there any way to present the default version to my UK customers?
-
If not is there any way of presenting the United Kingdom version to Google for crawling and indexing?
Hello there David @DavidsDD To set a default view for your store, I recommend the following steps
-
1. Access Theme Editor:
Navigate to your Shopify admin panel, go to Online Store > Themes, and click Customize on your current theme.
-
2. Edit Code:
In the theme editor, click the three dots (More actions) and select Edit code.
-
3. Locate collection-template.liquid:
Find and open the collection-template.liquid file in the code editor. This file controls the display of your collection pages.
-
4. Modify the View:
Look for the code that handles the product listing view. You’ll likely find an if/else statement or a similar structure that determines the default view. Change this logic to always display the desired view (e.g., gridor list) when a collection is loaded.
-
5. Save Changes:
Save your changes to the collection-template.liquid file.
can you specify where you are updating this info? in your case you should only have 1