rejetto forum

A macro-level https redirect ?

Guest · 4 · 2040

0 Members and 1 Guest are viewing this topic.

Whoopha

  • Guest
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!


Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
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...
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 842
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
This could be your start point.
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile