【问题标题】:Yoast SEO how to allow crawler botYoast SEO如何允许爬虫机器人
【发布时间】:2018-11-29 09:04:01
【问题描述】:

我找到了一份工作来摆脱网站上的“此页面没有可用信息”。该网站使用 Yoast SEO,但它被禁用了,所以我重新启用它,然后我得到了一个基本的 robots.txt 像这样

User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

大约六个小时前我已经应用了该设置,尝试在 Google 中搜索它,但仍然没有任何变化。我现在感到很焦虑。 这足以让爬虫阅读网站吗?我错过了什么吗?我需要弄乱 .htaccess 吗?我在 SEO 方面的经验为零,因此非常感谢您的帮助。

【问题讨论】:

  • 我投票决定将此问题作为离题结束,因为它是一个超出 SEO 标签 wiki 页面定义范围的 SEO 问题。这可能是网站管理员 stackexchange 的主题

标签: wordpress seo robots.txt yoast


【解决方案1】:

复制并粘贴到您的robot.txt中

User-agent: Googlebot
Disallow: 
User-agent: googlebot-image
Disallow: 
User-agent: googlebot-mobile
Disallow: 
User-agent: MSNBot
Disallow: 
User-agent: Slurp
Disallow: 
User-agent: Teoma
Disallow: 
User-agent: Gigabot
Disallow: 
User-agent: Robozilla
Disallow: 
User-agent: Nutch
Disallow: 
User-agent: ia_archiver
Disallow: 
User-agent: baiduspider
Disallow: 
User-agent: naverbot
Disallow: 
User-agent: yeti
Disallow: 
User-agent: yahoo-mmcrawler
Disallow: 
User-agent: psbot
Disallow: 
User-agent: yahoo-blogs/v3.9
Disallow: 
User-agent: *
Disallow: 
Sitemap: https://www.yoursitename.com/sitemap.xml

【讨论】:

  • 谢谢,会试试的。顺便说一句,通常需要多少时间才能看到搜索引擎的变化?
猜你喜欢
  • 2015-11-16
  • 1970-01-01
  • 1970-01-01
  • 2017-05-29
  • 1970-01-01
  • 2012-10-04
  • 2012-01-07
  • 2010-12-10
  • 2015-02-07
相关资源
最近更新 更多