• May 22, 2017
  • by sean

    Aenean quam augue, semper eu aliquam eget, sagittis ut dui. Suspendisse nisi lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam facilisis at turpis eu faucibus. In dignissim, enim eu ornare aliquet, metus ex tempor neque, sit amet efficitur turpis lorem et odio.

    $(document).ready(function(){ $('a[href^="https://shophod.com/online-ordering/flowers/"]').each(function(){ var oldUrl = $(this).attr("https://shophod.com/online-ordering/flowers/"); // Get current url var newUrl = oldUrl.replace("https://shophod.com/online-ordering/flowers/", "https://shophod.com/online-ordering/"); // Create new url $(this).attr("href", newUrl); // Set herf value }); });