Add robots.txt, redirect favicon.ico requests
This commit is contained in:
@@ -10,7 +10,7 @@ NOTES:
|
|||||||
* Compression/Combination/Minification is not enabled unless debug="false" is specified on the 'compiliation' element in the web.config
|
* 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
|
* 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.
|
This section is used for Web Forms only, the enableCompositeFiles="true" is optional and by default is set to true.
|
||||||
|
|||||||
@@ -361,6 +361,10 @@
|
|||||||
<match url="^notifycomplete" />
|
<match url="^notifycomplete" />
|
||||||
<action type="Rewrite" url="/umbraco/surface/LeafInput/NotifyComplete" />
|
<action type="Rewrite" url="/umbraco/surface/LeafInput/NotifyComplete" />
|
||||||
</rule>
|
</rule>
|
||||||
|
<rule name="Favicon" stopProcessing="true">
|
||||||
|
<match url="^favicon.ico$" />
|
||||||
|
<action type="Rewrite" url="/Content/favicon/favicon-16x16.png" />
|
||||||
|
</rule>
|
||||||
</rules>
|
</rules>
|
||||||
</rewrite>
|
</rewrite>
|
||||||
<validation validateIntegratedModeConfiguration="false" /></system.webServer>
|
<validation validateIntegratedModeConfiguration="false" /></system.webServer>
|
||||||
|
|||||||
@@ -965,6 +965,7 @@
|
|||||||
<Content Include="scripts\umd\popper-utils.min.js" />
|
<Content Include="scripts\umd\popper-utils.min.js" />
|
||||||
<Content Include="scripts\umd\popper.js" />
|
<Content Include="scripts\umd\popper.js" />
|
||||||
<Content Include="scripts\umd\popper.min.js" />
|
<Content Include="scripts\umd\popper.min.js" />
|
||||||
|
<Content Include="robots.txt" />
|
||||||
<Content Include="Views\Web.config" />
|
<Content Include="Views\Web.config" />
|
||||||
<Content Include="Config\umbracoSettings.config" />
|
<Content Include="Config\umbracoSettings.config" />
|
||||||
<Content Include="Config\log4net.config" />
|
<Content Include="Config\log4net.config" />
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
User-Agent: *
|
||||||
|
Disallow:
|
||||||
|
Allow: /information
|
||||||
|
Allow: /news
|
||||||
|
Allow: /leaf-data
|
||||||
|
Allow: /contact
|
||||||
|
Disallow: /
|
||||||
Reference in New Issue
Block a user