You have no items in your shopping cart.

Sunday, December 22, 2024 4:46:52 AM

How to redirect .html files in the old ASP.NET (nop 3.xx)?

Posted: 4 years ago

#11283 Quote

Support

Posted: 4 years ago

#11283 Quote
Add this new handler  in the web.config file

    <handlers>
      <add name="SitemapXml" path="sitemap*.xml" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />

      <add name="AllhtmlFiles" path="*.html" verb="*" type="System.Web.Routing.UrlRoutingModule" resourceType="Unspecified" preCondition="integratedMode" />

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved