Jump to content

Surfjunk

Member
  • Posts

    1
  • Joined

  • Last visited

Surfjunk's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. tuanphan Not sure if I understand your note: We can use code to target links, but the link does not contain your domain, all will be set to nofollow. I've set up the no follow link for the entire site and it works perfect, thank you! I'd like to turn all my internal links into do-follow. I have been messing with combining the two scripts you've provided like below but can't get it to work. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $("a").attr('rel','nofollow'); <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('[href*="bigwavesurfing.com"]').attr('rel','follow'); }); </script> }); </script>4 how can i change one domain ( my site) to do-follow, while all external links stay NonFollow?
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.