0

I have integrated in my site affiliate links from awin.com and amazon.com, but they are not tagged with nofollow and don't open in a new tab. This is something I want to change. I know this form of code:

<a href="" target="_blank" rel="nofollow" >Link Text</a>

I have used the Amazon-Banners, which have an iframe. What should I do here?

But how I should do that, when I'm not allowed to change the links?

  • What have you already tried? – BenM Nov 11 '19 at 11:18
  • "when I'm not allowed to change the links" why? I mean, are you using some CMS? Which one? – Federico klez Culloca Nov 11 '19 at 11:18
  • Amazon and Awin say that you are not allowed to change the links. I have a Blogspot Blog. But it's not forbidden to set them to nofollow and new tab. – Kathrin Nov 11 '19 at 11:24
  • You can add attributes by JS like here: [How can I add “href” attribute to a link dynamically using JavaScript?](https://stackoverflow.com/questions/4689344/how-can-i-add-href-attribute-to-a-link-dynamically-using-javascript) – Peter Nov 11 '19 at 11:24
  • Oh my God, I don't really know how to do that. I have tried to supplement the tags with nofollow and target blank in the banner links but it didn't work. The links still open in the tab of my blog. – Kathrin Nov 11 '19 at 11:32
  • The Links are bedded in the following code: – Kathrin Nov 11 '19 at 11:35

0 Answers0