<a href="example.com/page.php#page" rel="noindex, nofollow"> 是否正确?

Dim*_*ica 4 html

在我的网站中,我有页面http://www.example.com/page.php,但是,我有指向http://www.example.com/page.php#page 的链接,所以我希望它们不是索引或跟踪。将这些链接标记为是否正确

<a href="http://www.example.com/page.php#page" rel="noindex, nofollow"> 
Run Code Online (Sandbox Code Playgroud)

此外,作为同一页面上的规范元标记,我已经有了

<link rel="canonical" href="http://www.example.com/page.php" /> 
Run Code Online (Sandbox Code Playgroud)

谢谢!!!

PS:我问这个语法是否正确,而不是谷歌是如何工作的以及它对网址的政策是什么

eli*_*xon 5

“rel”属性中的语法无效。它必须包含以空格分隔的关键字列表- 删除逗号。

“nofollow”关键字是正确的。“noindex”关键字没有意义