Posted: April 03, 2013 at 12:46 AM Quote #93185
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>
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)