Search Tips
Account Management Directory Services Groups Lockers Portals Publishing Registration School Settings Webmaster Websites
Help & Support Document Library
Account Management Miscellaneous

Auto Redirect

Please Note: School Loop now recommends against using this technique because it does not meet the WCAG 2.0 guidelines for accessibility.

link_to_school.pngIn some cases, it may be desirable to include a menu option on the top level navigation that links to an external site. For example, a district website might wish to have a top level menu for "Schools" with a list of all the district schools as the menu options -- each linking to the homepage of the respective school. In this This can be acheived by creating a page that automatically redirects the user to the appropriate website. 



1. Create a new page under the Top Level navigation.

2. Add a Custom HTML element.

3. Copy and Paste the following code:

<meta http-equiv="refresh" content="0;url=" />
<p><a href="">Text for your link</a></p>

4. Edit the code for your needs.

In the first line: 


The numeral after the first quote mark is the delay, in seconds, before the redirection occurs. Setting this value to 0 will redirect immediately.

The address after url= is the web address of the destination. Change this address to your desired destination.

The second line of the code shows up as text with a link only if the page doesn't automatically redirect the user. In this case, users will be able to follow the link to the page. You should edit the text and URL as desired.

Word of Caution!

Even the drafts of pages with this code will redirect, which makes it impossible to edit the page. To do so, you will have to temporarily turn off the feature in your browser that allows a page to redirect to a different page.

For Firefox 3+, go to Tools → Options → Advanced and check the box for "Warn me when websites try to redirect...".

For Internet Explore 7+ go to Internet Options → Security → Custom Level, and set "Allow META-REFRESH" to Disabled.

Note: Auto-redirect cannot be turned off in Chrome.

Also, do not make the redirect page the first page in a section, otherwise users will not be able to browse to other pages in that section. The only exception to this rule is when all the pages in the section use this redirect feature.