Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 210725

Add rel=”nofollow” to external product link

$
0
0

Replies: 0

For reasons of SEO, would like to a rel=”nofollow” to the product link in the products section.

So for example, we would like

<a class="upcp-catalogue-link" target="_blank" href="https://www.londresparaprincipiantes.com/passeio-a-pe-pelos-principais-pontos-turisticos/" onclick="RecordView(8);"><div id="prod-cat-title-8" class="prod-cat-title upcp-detail-title">Londres Essencial</div>
</a>

to become

<a class="upcp-catalogue-link" target="_blank" rel="nofollow" href="https://www.londresparaprincipiantes.com/passeio-a-pe-pelos-principais-pontos-turisticos/" onclick="RecordView(8);"><div id="prod-cat-title-8" class="prod-cat-title upcp-detail-title">Londres Essencial</div>
</a>

Note the example is for an internal link but we want to do this for the external links.

Is there anyway to do this?

If not, I strongly suggest it as this is suggested good practice for SEO


Viewing all articles
Browse latest Browse all 210725

Trending Articles