SEO, AdWords, affiliates, advertising, and promotions
How to add Nofollow to some unimportant internal links on the website?
My website has some less important pages. How to add Nofollow so that it will not be tracked by Google?
Dear @susanm123
In Shopify, the platform automatically assigns the "nofollow" attribute to certain links such as your login page, cart page, and search result pages. However, applying the "nofollow" attribute to other internal links on your site isn't an in-built feature in Shopify and requires custom coding.
1. From your Shopify admin, go to "Online Store" > "Themes".
2. Find the theme that you want to edit, and then click "Actions" > "Edit code".
3. Along the left-hand side, you'll see a file structure. The exact file can vary, but here are some common files:
4. After you find the file, open it, and look for the HTML for the link that you want to change.
5. The link will be in an anchor tag that looks something like this: `Link Text`.
6. Add the `rel="nofollow"` attribute to the tag: `Link Text`.
7. Click "Save".
I hope that this helps!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024