Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amby 30 posts 50 karma points
    May 29, 2012 @ 16:43
    Amby
    0

    Urlrewritingnet 301 in Http headers

    I get redirected to the correct page but Http live headers show 302 instead of 301.I use the following rule in urlrewriting.config.

    <add name="productRewrite" redirectMode="Permanent" redirect ="Application" virtualUrl="^~/providers/(.*)/(.*)/(.*)/" rewriteUrlParameter="ExcludeFromClientQueryString" destinationUrl="~/productpage.aspx?BundleId=$3&amp;Provider=$1" ignoreCase="true" />

    Header:

    HTTP/1.1 302 Found

    Thanks in advance,

    Amby

     

Please Sign in or register to post replies

Write your reply to:

Draft