Sometimes it is desirable to enter redirect code into your WYSIWYG editor so that when a user lands on a certain page, they are automatically taken to a different page. For example, if you have an external website where all your program brochures are kept, you will want to redirect anyone who lands on the TDS program brochure page to your external website's program brochure page.
Follow these steps to automatically redirect users to the other page:
- Go to the WYSIWYG editor for the page you want to direct users away from.
- Click on the HTML toggle icon in the WYSIWYG tool bar < >.
- Enter the following code and click update:
Redirecting ...
<script type="text/javascript">
<!--
window.location = "http://THE URL OF THE OTHER PAGE"
//-->
</script>
Note: You will need to have the XSS WYSIWYG Override permission in order to inject this script into the content of the home page. This is a maintenance-level permission that must be granted by a superuser of the site. If your site is hosted on Terra Dotta's servers, a case must be opened to request this permission because your site will not have a superuser.