rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Whoopha on August 02, 2018, 09:37:04 AM

Title: A macro-level https redirect ?
Post by: Whoopha on August 02, 2018, 09:37:04 AM
Hello, How can I make a redirect to https in macro script ? I want this to be applied to the whole site so I don't need to add a js script to every webpage I created, thanks!
Title: Re: A macro-level https redirect ?
Post by: bmartino1 on August 03, 2018, 02:35:58 AM
it would have to be a event, code that would be put into the house diferent temate tab

i normaly use the html meta refresh to redirect the page.
(not macro, stnadara html code)

-- which is floating on the forum somewhere :p

more info here:
https://www.w3.org/TR/WCAG20-TECHS/H76.html

Code: [Select]
<html xmlns="http://www.w3.org/1999/xhtml">   
  <head>     
    <title>The Tudors</title>     
    <meta http-equiv="refresh" content="0;URL='[b]http://thetudors.example.com/[/b]'" />   
  </head>   
  <body>
    <p>This page has moved to a <a href="[b]http://thetudors.example.com/[/b]">
      theTudors.example.com</a>.</p>
  </body> 
</html> 

Bold - is what the redirect page would be.
i did a test where id had people hit my home page and get redirected to another site/ folder on my hfs

is there a macro version of this, probaly...
Title: Re: A macro-level https redirect ?
Post by: LeoNeeson on August 07, 2018, 04:15:15 PM
This (http://rejetto.com/forum/index.php?topic=11662.0) could be your start point.
Title: Re: A macro-level https redirect ?
Post by: rejetto on August 15, 2018, 04:30:10 PM
{.add header|location: https://google.com.}