最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Nofollow attribute in Wordpress link embed code?

programmeradmin9浏览0评论

I am including links to items I've written for clients in a WP post, but want them to be "no follow" to avoid any issues with those same clients.

The links are posted as embed code and I'm not sure how or where to add the rel="nofollow" attribute. The code looks like this:

    <figure class="wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider"><div class="wp-block-embed__wrapper">

/

Can you point me in the right direction? Thx

I am including links to items I've written for clients in a WP post, but want them to be "no follow" to avoid any issues with those same clients.

The links are posted as embed code and I'm not sure how or where to add the rel="nofollow" attribute. The code looks like this:

    <figure class="wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider"><div class="wp-block-embed__wrapper">

https://www.clientssite/their-blog-post/

Can you point me in the right direction? Thx

Share Improve this question edited Jul 6, 2019 at 15:04 Tricia Abney asked Jul 5, 2019 at 11:55 Tricia AbneyTricia Abney 11 bronze badge 2
  • [آموزش robot.txt](betacup/… you can use some tricks in robot.txt to do that) – M.R Mortezaei Commented Aug 9, 2020 at 14:00
  • @M.RMortezaei answers need to be self contained, they can't be links, keep in mind they need to be in english too – Tom J Nowell Commented Aug 9, 2020 at 23:04
Add a comment  | 

1 Answer 1

Reset to default 0

If you have used anchor tag manually than in post editor switch to html editor, now add rel="nofollow" in anchor tag like this :

<a href="http://www.example" rel="nofollow" >Click me text</a>
发布评论

评论列表(0)

  1. 暂无评论