想问下大家,typecho1.1 正式版怎么给文章里出现的外链加 nofollow 和 target 属性
就像前一个版本这样:https://www.qiansw.com/add-the-nofollow-and-target-properties-to-the-typecho-article-url.html
新版去掉了 /var/CommonMark/HtmlRenderer.php 这个文件
typecho1.1 怎么给外链加 nofollow 和 target 属性
版主: woniou
-
- 帖子: 14
- 注册时间: 2015年 7月 25日 13:46
- 联系:
- m4go
- 帖子: 857
- 注册时间: 2010年 3月 29日 02:33
- 来自: https://www.vpshu.com
- 联系:
Re: typecho1.1 怎么给外链加 nofollow 和 target 属性
我更喜欢这个插件:https://plugins.typecho.me/plugins/shortlinks.html
把你所有外链,转换成了/go/aHR0cHM6Ly9kcmliYmJ 这种格式,还会自动添加target_blank属性
把你所有外链,转换成了/go/aHR0cHM6Ly9kcmliYmJ 这种格式,还会自动添加target_blank属性
Re: typecho1.1 怎么给外链加 nofollow 和 target 属性
Typecho1.1给外链加rel="nofollow"和target="_blank"属性,您可以使用MyBlank插件,https://www.kavico.net/post/888.html