网站 SEO 规则 (Noindex & Canonical)
不少搜索引擎喜欢索引wp-json以及页面2、3这些无关紧要的页面并出现在搜索结果当中,所以为了解决搜索引擎索引这些页面,通过向页面元素和HTTP头中添加noindex标签达到目的
by Your Name · github.com/dellzou/wordpress_seo_optimization_plugin · website
★ 1stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dellzou/wordpress_seo_optimization_plugin/archive/refs/heads/main.zip不少搜索引擎喜欢索引wp-json以及页面2、3这些无关紧要的页面并出现在搜索结果当中,所以为了解决搜索引擎索引这些页面,通过向页面元素和HTTP头中添加noindex标签达到目的
相关文章
作者在博客上详细写过这个问题(为什么搜索引擎会去索引 wp-json、分页这类页面,以及怎么处理):
https://xiaozou123.cn/seo-conflicts-caused-by-using-slim-seo-with-the-sakurairo-theme/
另一件相关的事
如果站点有那种「内容重复但又被搜索引擎发现了」的归档页,也可以直接给它 noindex:
https://xiaozou123.cn/sakurairo-shuoshuo-archive-duplicate-content/