Follow the steps below:
- Login to Web Presence Optimizer and navigate to kontextURLs.
- Click on the Settings button.
- Navigate to the White Label Tab.
- Select the White Label domain you would like to add the redirect too.
- Click on the "Source" button in the Custom 404 Error Page section.
location.href = window.location.href.replace(' www.', '')</script>
- Click on the "Save Settings" button to apply the code.