Redirect to another page

Page redirect is helpful when you want to open a different page or document (which can be located on the same site or an external site) directly from your menu. Sometimes, organizations might have several websites and they want to add a link to the menu of Wild Apricot site that will take them directly to the other website.

First, you need to create a new empty page. Next, edit the Meta-Tags for the page from the Page Management screen and insert the following redirect script into the "Raw Headers" section:

?
<script type="text/javascript">
  try {
    if (!top.adminpanel) {
      window.location = "http://the100project.memberlodge.com/Default.aspx?pageId=1175856";
    }
  }
  catch(e) {}
</script>
<noscript>
  <meta http-equiv="Refresh" content="0"; URL="http://the100project.memberlodge.com/Default.aspx?pageId=1175856">
</noscript>
  • Change "http://redirect to url" to the url of the page you want to re-direct to (there are 2 places in the code where this change needs to be made).
  • Instead of redirecting the page you might want pop-up a new window instead. In that case use window.open('http://redirect to url') instead of window.location="http://redirect to url"
  • You can also use both window.location and window.open (on 2 separate lines) if you want to redirect the page and also pop up a new window.
 
 

© The 100% Project 2012 | Privacy Policy