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!
User | RANK |
---|---|
8 | |
8 | |
3 | |
3 | |
3 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023