你的位置: 码友网首页 / 资讯源列表 / Dynamically generating robots.txt for ASP.NET Core sites based on environment

关于[Dynamically generating robots.txt for ASP.NET Core sites based on environment]的摘要:

I'm putting part of older WebForms portions of my site that still run on bare metal to ASP.NET Core and Azure App Services, and while I'm doing that I realized that I want to make sure my staging sites don't get indexed by Google/Bing. I already have a robots.txt, but I want one that's specific to p...

原文地址: https://www.hanselman.com/blog/DynamicallyGeneratingRobotstxtForASPNETCoreSitesBasedOnEnvironment.aspx

收录时间: 2019-06-21 浏览量: 1325 分类: ASP.NET Core

| 0 收藏 | 0