飞龙博客

feilong.org

index nofollow用法 收录网页但不跟踪页内链接

feilong.org 修订于2008-10-23 10:29:04 277 次浏览

想让搜索引擎索引收录你的wordpress网页,但是不跟踪网页内的链接?只需在网页head区添加 index nofollow之类的代码即可。具体用法飞龙举例如下:

一、索引本页不跟踪本页链接语法:
<meta name="robots" content="index,nofollow" />

意思是:允许搜索引擎抓取本页,但不要跟踪本页中的链接。
对于nofollow的链接方式,google是不会传递PR值。

二 其他三种不常用的写法:
1. <meta name="robots" content="index,follow" />
2. <meta name="robots" content="noindex,follow" />
3. <meta name="robots" content="noindex,nofollow" />

三 在具体某链接中定义nofollow,写法为:
<href ="http://jiaju99.com" rel="nofollow">家具久久店</a>

更新网址:https://feilong.org/index-nofollow-link
最初发布:20081023 10:29:04 feilong.org 于广州

加入收藏夹,查看更方便。

所在分类: wordpress

新作:

旧文:

AI音乐 blog money bui 教程 echarts 教程 eclipse 教程 html css 教程 IT趋势 js 教程 json 教程 mysql 教程 nodejs npm 教程 onblog SQLite 教程 tutorials vscode 教程 wap网站 winpe启动盘 wordpress 主机推荐 人工智能 前端开发 博客 名企名网 域名注册 常用软件 建站程序 操作系统 教程 数码 无线上网 日记 电子商务 电脑笔记本 网站 网站优化 网站开发 网站推广 网站策划 网络 虚拟现实 默认