rejetto forum
Software => HFS ~ HTTP File Server => Topic started 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!
-
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
<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...
-
This (http://rejetto.com/forum/index.php?topic=11662.0) could be your start point.
-
{.add header|location: https://google.com.}