Help redirection 301 from multiple custom URL to one simple URL

Hi,

I need help with 301 redirection.

I have a product with multiple presentation page(i.e. “the experience”, “configure”, “photo gallery”). On each of those pages, I have a call-to-action button “buy now”. When clicked, the visitor go to a form. it’s the same “buy now” form on each on the product page.

The xlst code behind the call-to-action button is this:

<xsl:attribute name="href">

<xsl:choose>

<xsl:when test="Exslt.ExsltStrings:lowercase($vehicleTypeName) = 'myproductname'">
<xsl:value-of select="umbraco.library:NiceUrl($buyNowPageId)" />?type=0&amp;url=<xsl:value-of select="umbraco.library:NiceUrl($currentPage/@id)"/>


</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>

Now, my form is on another domain name. I would like to redirect all the call-to-action “buy now” to another url who simply finish by “/order-myproductname”.

Can you help me, please?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/72127-help-redirection-301-from-multiple-custom-url-to-one-simple-url