Hello,
I installe URL Rewrite 2.0 and tried to do simple urlrewrite by adding the following to web.config.
But it didn't work.
Can I do URL rewrite with nopCommerce this way?
<rewrite>
<rules>
<rule name="Redirect Old Files and Broken Links" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{OldFiles:{REQUEST_URI}}" pattern="(.+)" />
</conditions>
<action type="Redirect" url="{C:0}" />
</rule>
</rules>
<rewriteMaps>
<rewriteMap name="OldFiles">
<add key="/samsung.html" value="/samsung" />
</rewriteMap>
</rewriteMaps>
</rewrite>