Add robots.txt, redirect favicon.ico requests

This commit is contained in:
2020-01-30 14:13:46 -05:00
parent 9e9c1e1514
commit ef3370b940
4 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ NOTES:
* Compression/Combination/Minification is not enabled unless debug="false" is specified on the 'compiliation' element in the web.config
* A new version will invalidate both client and server cache and create new persisted files
-->
<clientDependency version="1232230195" fileDependencyExtensions=".js,.css" loggerType="Umbraco.Web.UI.CdfLogger, umbraco">
<clientDependency version="1252230195" fileDependencyExtensions=".js,.css" loggerType="Umbraco.Web.UI.CdfLogger, umbraco">
<!--
This section is used for Web Forms only, the enableCompositeFiles="true" is optional and by default is set to true.
+4
View File
@@ -361,6 +361,10 @@
<match url="^notifycomplete" />
<action type="Rewrite" url="/umbraco/surface/LeafInput/NotifyComplete" />
</rule>
<rule name="Favicon" stopProcessing="true">
<match url="^favicon.ico$" />
<action type="Rewrite" url="/Content/favicon/favicon-16x16.png" />
</rule>
</rules>
</rewrite>
<validation validateIntegratedModeConfiguration="false" /></system.webServer>
+1
View File
@@ -965,6 +965,7 @@
<Content Include="scripts\umd\popper-utils.min.js" />
<Content Include="scripts\umd\popper.js" />
<Content Include="scripts\umd\popper.min.js" />
<Content Include="robots.txt" />
<Content Include="Views\Web.config" />
<Content Include="Config\umbracoSettings.config" />
<Content Include="Config\log4net.config" />
+7
View File
@@ -0,0 +1,7 @@
User-Agent: *
Disallow:
Allow: /information
Allow: /news
Allow: /leaf-data
Allow: /contact
Disallow: /