User Tools

Site Tools


redirecting_users

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
redirecting_users [2020/06/19 11:37] – [Add a redirect script when a form gets submitted or when a link/button gets clicked] lucyredirecting_users [2020/09/11 11:38] – [Redirect a user in a file based scenario to an awareness page (eLearning)] lucy
Line 16: Line 16:
  
 {{ redirect_landingpage.png?600 }} {{ redirect_landingpage.png?600 }}
 +
 +If you want to use a **static link** to an **external** Intranet/Wiki page even if you have a separate link 'per language' you can place this redirect in the header:
 +
 +<meta http-equiv="refresh" content="5; url=https://staticlink.companyxy-english.html">
 +<meta http-equiv="refresh" content="5; url=https://staticlink.companyxy-german.html">
  
 ===== Add a redirect script when a form gets submitted or when a link/button gets clicked ===== ===== Add a redirect script when a form gets submitted or when a link/button gets clicked =====
Line 66: Line 71:
     </script>     </script>
     </head>     </head>
 +
 +if you like to use a **'static link' to an external site** at the download button you may use this script, you can use this also for a distinct **link for each language**!
 +
 +    <script type="text/javascript">
 +    function DownloadAndRedirect()
 +{
 +   var DownloadURL = "%static%/exe?track";
 +   var RedirectURL = "https://staticlinc.companyxy-english.html";
 +   var RedirectPauseSeconds = 0;
 +   location.href = DownloadURL;
 +   setTimeout("DoTheRedirect('"+RedirectURL+"')",parseInt(RedirectPauseSeconds*1000));
 +}
 +function DoTheRedirect(url) { window.location=url; }
 +</script>
 +
  
  
redirecting_users.txt · Last modified: 2021/09/07 23:00 by lucy