Success

Fusce eu justo a sapien tincidunt aliquet. Sed pellentesque pellentesque quam, ac iaculis dui rutrum in.

Error

Fusce eu justo a sapien tincidunt aliquet. Sed pellentesque pellentesque quam, ac iaculis dui rutrum in.

Important

Fusce eu justo a sapien tincidunt aliquet. Sed pellentesque pellentesque quam, ac iaculis dui rutrum in.

Warning

Fusce eu justo a sapien tincidunt aliquet. Sed pellentesque pellentesque quam, ac iaculis dui rutrum 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 }); });