import wixLocation from 'wix-location'; $w.onReady(function() { if (window.location.href.includes('assembly-install#assembly')) { wixLocation.to('/assembly'); } });