You have no items in your shopping cart.

Friday, August 12, 2022 12:36:35 AM

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

Avatar

Posted: 1 year ago

#11283 Quote

Support

Posted: 1 year 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 © 2019 FoxNetSoft. All rights reserved