Redirect Old Customer Portals

Add the appropriate block of code inside a <script> tag at the top of the <head> tag in the theme.liquid file

ReCharge

if (window.location.pathname.startsWith('/tools/recurring')) {
  window.location.href = '/a/account/login';
}

Bold V2

if (window.location.pathname.startsWith('/pages/my-subscriptions')) {
  window.location.href = '/a/account/login';
}

Smartrr

if (window.location.pathname.startsWith('/account')) {
  window.location.href = '/a/account/login';
}

Last updated