Quantcast
Channel: URL Rewrite Module
Viewing all articles
Browse latest Browse all 2482

Is my redirect ok?

$
0
0

I'm trying to double check to see if a redirect rule is correct.  I have a site "mysite.com".  I have another site "productname.com" that is a dns redirect to "mysite.com".  When a user goes to "productname.com", I'd like to have them go to a particular page on "mysite.com".

Can someone see if this is correct?

<rule name="productname.com" stopProcessing="true"> <match url="(.*)"/> <conditions> <add input="{HTTP_HOST}" pattern="productname.com"/> </conditions> <action type="Redirect" url="https://www.mysite.com/products/productname/" redirectType="Permanent" appendQueryString="True"/></rule>


Viewing all articles
Browse latest Browse all 2482

Trending Articles



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