(function(){ var redirects = { 'product/activ-x-for-men/' : '/product/activ-x-for-men-us/', 'product/activ-x-for-women/' : '/product/activ-x-for-women-us/', 'where-to-buy/' : '/where-to-buy-us/', 'fr/points-de-vente/' : '/where-to-buy-us/', '/product/activ-x-for-men/' : '/product/activ-x-for-men-us/', '/product/activ-x-for-women/' : '/product/activ-x-for-women-us/', '/where-to-buy/' : '/where-to-buy-us/', '/fr/points-de-vente/' : '/where-to-buy-us/' }; if ( window.location.pathname in redirects ) { window.location.href = redirects[window.location.pathname]; } })();