You can't directly - no search engine offers that kind of "fill in this form" type of control.
Your two options:
1) use robots.txt to tell crawlers to NOT index the pages on site1 2) use 301 "permanently moved" redirects to tell crawlers to go look at site2 instead of site1.
发布评论
评论(2)
在每台服务器的根目录下创建一个 robots.txt 文件,指定应为哪些页面建立索引。
例如,在站点 2 上:
Create a robots.txt file on the root of each server, specifying which pages should be indexed.
For example, on Site 2:
您不能直接 - 没有搜索引擎提供这种“填写此表单”类型的控件。
您有两个选择:
1) 使用 robots.txt 告诉爬虫不要为 site1 上的页面建立索引
2)使用301“永久移动”重定向告诉爬虫去查看site2而不是site1。
You can't directly - no search engine offers that kind of "fill in this form" type of control.
Your two options:
1) use robots.txt to tell crawlers to NOT index the pages on site1
2) use 301 "permanently moved" redirects to tell crawlers to go look at site2 instead of site1.