.htaccess htaccess中的first-robots.txt或mod_rewrite是什么

.htaccess htaccess中的first-robots.txt或mod_rewrite是什么,.htaccess,seo,robots.txt,.htaccess,Seo,Robots.txt,我需要一些帮助。我不确定mod_rewrite和robots.txt的订单 某些URL属于重写规则: /index.php?id=123 to /home 其他URL没有重写: /index.php?id=444 我在我的robots.txt中输入了以下内容: User-agent: * Disallow: /index.php?id 带有/home的站点是否会被搜索引擎索引?客户端(spider)会解释robots.txt文件,他们不知道您在系统中进行了哪些重写。因此,如果爬行器看起来像

我需要一些帮助。我不确定mod_rewrite和robots.txt的订单

某些URL属于重写规则:

/index.php?id=123 to /home
其他URL没有重写:

/index.php?id=444
我在我的robots.txt中输入了以下内容:

User-agent: *
Disallow: /index.php?id

带有/home的站点是否会被搜索引擎索引?

客户端(spider)会解释
robots.txt
文件,他们不知道您在系统中进行了哪些重写。因此,如果爬行器看起来像
robots.txt
中的模式,它们不会从您的站点获取URL,但是如果它们通过
/home
找到相同的内容,它们会获取URL