【问题标题】:Placement of the robots.txt file for multiple domains为多个域放置 robots.txt 文件
【发布时间】:2023-03-07 19:17:01
【问题描述】:

我的网站位于子文件夹中,但我为该子文件夹分配了一个域,因此即使我将 Joomla 安装在子文件夹中,robots.txt 文件的位置仍为 www.example.com/robots.txt。

这是正确的吗?因为 Google 网站管理员工具不会将 robots.txt 中指定的 URL 列为已阻止。

【问题讨论】:

  • 这个问题似乎是题外话,因为它是关于 SEO

标签: joomla robots.txt google-search-console


【解决方案1】:

对于example.com,robots.txt 需要可通过example.com/robots.txt 访问。

在服务器端如何完成并不重要。

【讨论】:

    猜你喜欢
    • 2012-07-07
    • 1970-01-01
    • 2014-05-03
    • 1970-01-01
    • 1970-01-01
    • 2021-12-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多