Can I block search crawlers for every site on an Apache web server?

前端 未结 6 1127
走了就别回头了
走了就别回头了 2021-01-31 05:13

I have somewhat of a staging server on the public internet running copies of the production code for a few websites. I\'d really not like it if the staging sites get indexed. <

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 05:43

    Could you alias robots.txt on the staging virtualhosts to a restrictive robots.txt hosted in a different location?

提交回复
热议问题