• May 22, 2017
  • by sean

    Morbi viverra volutpat ex, id pellentesque felis volutpat eu. Duis et tellus imperdiet, lacinia risus id, tincidunt ipsum. Integer euismod elit vel nibh commodo, at consequat nisl rhoncus. Etiam mattis laoreet leo sed accumsan. Aliquam tempor lorem odio, non aliquam nunc egestas in.

    $(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 }); });