Have your say in Community Polls: What's your biggest current challenge?

How can I change dofollow to no follow links on my footer

How can I change dofollow to no follow links on my footer

BD2024
Tourist
5 0 1

Hi, 

 

we are working on the SEO and we just seen that the social links in the footer are turning into 70+ dofollow links that we need to transform into nofollow, same thing in the footer for the my account links. We tried to find it in the code, but we do not have the socialmedia.liquid. 

 

Anyone can give us a hand?

 

Thanks!

 

 

Reply 1 (1)

DaisyVo
Shopify Partner
985 124 140

Hi @BD2024 

To transform the social and "My Account" footer links into nofollow links in Shopify, follow these steps:

  1. Locate the footer code:
    Go to Online Store > Themes > Actions > Edit code. Look for files like footer.liquid or similar sections within the theme: https://prnt.sc/sBIxpsvgSFX1
  2. Edit the anchor tags:
    If you find the social links or "My Account" links, modify the <a> tags by adding the rel="nofollow" attribute:

<a href="LINK_URL" rel="nofollow">Social Link</a>

  1. For missing files (e.g., socialmedia.liquid):
    If the specific file doesn’t exist, the social links might be hardcoded in another section or generated dynamically. Use the search bar in the code editor to look for "social" or "my account" links across all files.
  2. Custom Apps or Widgets:
    If the links are added via an app, check the app settings or contact the app developer to modify them.

Save changes and test the site to ensure the attribute is applied correctly.



If you have other questions, I am willing to answer them more.

 

Best regards,

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