Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the soledad domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the soledad domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/practical-tips.com/wp-includes/functions.php on line 6114
WordPress:用和不用插件创建Robots.txt - Practical Tips

WordPress:用和不用插件创建Robots.txt

by Corinna

你可以用插件在WordPress中创建Robots.txt,或者干脆手动输入它。这允许你决定你的哪些帖子应该被谷歌机器人列入显示结果中。

通过插件创建WordPress robots.txt。一步一步的指南

WordPress创建自己的robots.txt文件,如果你不自己创建一个–顺便说一下,这是为你的每个域名推荐的。例如,在你自己的robots.txt中,你可以指定你的博客不应该公开,以及哪些帖子搜索引擎不应该显示。

  • 首先下载你需要的WordPress的插件。WordPress Yoast SEO插件
  • 解压下载的文件。
  • 现在把解压后的文件夹完全上传到你的WordPress目录下的 “wp-content/plugins”。
  • 激活新的插件,并开始按照你的意愿创建robots.txt。