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?