Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

help with a rewrite of dynamic url using pattern

$
0
0

please help me rewrite this URL:

http://www.realestate-bigbear.com/ListNow/Property.aspx?Print=1&PropertyID=2221366

to

http://www.realestate-bigbear.com/featured-listings/714-Elysian-Big-Bear-City-CA-92314.html

where the rewrite matches "2221366" to general the forwarding url...

 I have LOTS of these pages to redirect ... and I can't get the pattern string to work properly.

 this is what I have so far

---------------------------------------

     <rule name="Property 2221366 rule" stopProcessing="true">
     <match url="^Property\.aspx$" />
        <conditions>
           <add input="{QUERY_STRING}" pattern="^2221366." />
        </conditions>
        <action type="Redirect" redirectType="Permanent"
          url="http://www.realestate-bigbear.com/featured-listings/714-Elysian-Big-Bear-City-CA-92314.html" />
    </rule>

 

-----------------------------------

 Thanks.


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>