SEO, AdWords, affiliates, advertising, and promotions
Hello, my site is www.chipchasehr.com
I noticed when inspecting any page that I can find nofollow and google is currently not indexing properly my collections.
I want to do dofollow for the first pages of collections, and no follow for the rest of the pages.
I searched for the solution but I can't find it, all the solutions says install an app and pay for it and I know that it can be done with the little bit of coding, can someone help?
GSC indexed most of the pages but not correctly I think, and there was a lot of duplicated content indexed.
Also I have a problem with canonical tags, there is a lot another pages with the corresponding canonical mark
Can you write here the solution for it so other users with same problem can use it as a solution?
To achieve a "dofollow" for the first pages of collections and "nofollow" for the rest, you can modify the head section of your collection template file. If you're using Shopify, this can be done in the collection.liquid file, usually found in the "Sections" or "Templates" folder of your theme.
Here's a simple code snippet to add to your collection.liquid file that checks the page number and sets the meta robots tag accordingly:
Go to your Shopify theme editor:
Open the collection.liquid template:
Add the following code to the <head> section:
This solution does not require any additional apps or paid tools, and it should help with your indexing issue.
I have done the same for webzeto.com and the issue was resolved by applying said technique.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025