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

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?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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 comment
  • 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 comment
  • 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 comment

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 comment
  • 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 comment
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.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...

Hi,

I wonder if anyone can help me with a code which can nofollow multiple root sites. For example there are various pages i mention 2 different sites (ebay and amazon) which i want to set as nofollow. Can i just follow the same script but place "amazon.co.uk" (and a comma or something) before putting "ebay.com" like below?

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

Create an account or sign in to comment

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

×
×
  • Create New...