Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search

How to add "Nofollow" for image and button links?


Recommended Posts

Hi. Hoping someone can shed some light on this as I can't seem to find an obvious answer.

I'm wondering how, if at all, am I able to add "nofollow" links to images and buttons??

No problem with text, using the markdown box.

Edited by kamiwealth
Link to post
  • Replies 22
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Having the option within the WYSIWYG editor to set the appropriate rel= info is actually very important. The rel=nofollow and rel=sponsored attributes play a critical role for Google. We love the Squa

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('[href*="beaverhero.com"]').attr('rel','nofollow'

Which plan do you use? If you use Business Plan, you can use some custom code to add rel="nofollow" to all image/button links. Can you share link to your site?

Posted Images

Which plan do you use?

If you use Business Plan, you can use some custom code to add rel="nofollow" to all image/button links.

Can you share link to your site?

Link to post
6 hours ago, kamiwealth said:

@tuanphan

Hi tuanphan, any update on this? (I know you're busy, apologies)

Add to Home > Settings > Advanced > Code Injection > Footer

<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>

 

Link to post
18 hours ago, kamiwealth said:

@tuanphan  Thank you, much appreciated. I'm assuming this code will affect everything site-wide?

you can add to Page Header, if you want to run One Page

Link to post

Do you mind explaining briefly what this script actually does please @tuanphan

For example; I know it's for nofollow, but does it make everything on the page nofollow? Is it just for buttons and images?

I do apologize for all the questions!

 

Link to post
  • 1 month later...
7 hours ago, Zineta said:

@tuanphan Is there a way to configure the script so that it only makes links to a certain root domain (for example amazon) no follow while the rest is dofollow? 

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('[href*="beaverhero.com"]').attr('rel','nofollow');
});
</script>

Notes: This code will target all links that contain the word "beaverhero.com" in the link.

Link to post
9 hours ago, tuanphan said:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('[href*="beaverhero.com"]').attr('rel','nofollow');
});
</script>

Notes: This code will target all links that contain the word "beaverhero.com" in the link.

That works perfectly, thank you!

Link to post
  • 2 months later...
On 7/11/2020 at 3:36 PM, tuanphan said:

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() {
	$('[href*="beaverhero.com"]').attr('rel','nofollow');
});
</script>

Notes: This code will target all links that contain the word "beaverhero.com" in the link.

Thank you so much! I'm so happy to finally find the code that works.

Link to post
  • 1 month later...
On 5/9/2020 at 9:11 AM, tuanphan said:

Add to Home > Settings > Advanced > Code Injection > Footer


<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>

 

 

Link to post

I've got a lot of links out of the site so I thought it would be a good idea to make them all no follow to avoid the site getting penalised, so this looks like exactly what I need. 

I've put it into the footer, however I'm not sure that it's working - when I hover over the links I'm not seeing nofollow. Is that how its supposed to be or have I set it up wrong. 

You can see the site here: shopportunity.ie

You can see an example of a link out on this page on the button that says VISIT THE GUTTER BOOKSHOP

https://shopportunity.ie/irish-online-store-directory/thegutterbookshop

Any advice would be hugely appreciated!

 

Link to post

Oh wonderful! I thought that as it wasn't showing up when I hovered over the button that it might not be working. Thank you so much for taking the time to help - it's much appreciated!

Link to post
  • 3 months later...

Hi, 

I am trying to understand:

I was under the impression that you want most of your external links to be no follow but all of your internal links to your own site to be followed. So would you need the opposite scenario from above? Everything no follow except for links to your own site? How would you make an exception for an external link you are providing back links for, for example if you had a guest blog post or links to a copywriter you want your clients to work with?

Could this be done for all no follow images and text links?

Also, I've only found one reference to no follow vs. sponsored. Is sponsored for affliate links? Wouldn't you also want them to be nofollow? How would you address images that are sponsored links? I have the following codes for markdown:

<a rel="nofollow" href="(LINK)" target="_blank">(YOUR TEXT)</a>

<a rel="sponsored" href="(LINK)" target="_blank">(YOUR TEXT)</a>

https://www.thorpeandcompany.com/

I have a business plan.

Thank you for any insight!

Edited by ThorpeandCo
further clarification and a typo
Link to post
On 2/26/2021 at 7:58 AM, ThorpeandCo said:

Hi, 

I am trying to understand:

I was under the impression that you want most of your external links to be no follow but all of your internal links to your own site to be followed. So would you need the opposite scenario from above? Everything no follow except for links to your own site? How would you make an exception for an external link you are providing back links for, for example if you had a guest blog post or links to a copywriter you want your clients to work with?

Could this be done for all no follow images and text links?

Also, I've only found one reference to no follow vs. sponsored. Is sponsored for affliate links? Wouldn't you also want them to be nofollow? How would you address images that are sponsored links? I have the following codes for markdown:

<a rel="nofollow" href="(LINK)" target="_blank">(YOUR TEXT)</a>

<a rel="sponsored" href="(LINK)" target="_blank">(YOUR TEXT)</a>

https://www.thorpeandcompany.com/

I have a business plan.

Thank you for any insight!

We can use code to target links, but the link does not contain your domain, all will be set to nofollow.

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...