例如,想禁止搜索引擎收录 story类型。 要禁止某一类型被收录,是要改robot.txt?如何使其自动完成更改,以禁止某一内容类型的内容被收录。
User-agent: * Disallow: /
Drupal博客广州Drupal开发 Drupal大学Drupal大学
No. That will block all search engines to all pages. Robot.Txt only work with url You can use path auto and define story content type url like /story/node/nid
and robot.txt:
disallow: /story/*
Joetsui's blog
Thanks.
Comments
User-agent: * Disallow: /
User-agent: *
Disallow: /
Drupal博客广州Drupal开发
Drupal大学Drupal大学
No. That will block all
No. That will block all search engines to all pages.
Robot.Txt only work with url
You can use path auto and define story content type url like /story/node/nid
and robot.txt:
disallow: /story/*
Joetsui's blog
Thanks.
Thanks.