Author Topic: A macro-level https redirect ?  (Read 151 times)

0 Members and 1 Guest are viewing this topic.

Offline Whoopha

  • Occasional poster
  • *
  • Posts: 1
    • View Profile
A macro-level https redirect ?
« 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!

Offline bmartino1

  • Insane poster
  • *****
  • Posts: 778
  • I'm only trying to help i mean no offense.
    • View Profile
    • none - google translate
Re: A macro-level https redirect ?
« Reply #1 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...
I'm only trying to help i mean no offense.
thank you for your time and patience,
Bmartino1

Offline LeoNeeson

  • Insane poster
  • *****
  • Posts: 451
  • Solitario...
    • View Profile
    • twitter.com/LeoNeeson
Re: A macro-level https redirect ?
« Reply #2 on: August 07, 2018, 04:15:15 PM »
This could be your start point.
• HFS ahora también disponible en Español! (Clic aqui) :)
• HFS is now also available in Spanish! (Click here)

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12853
    • View Profile
Re: A macro-level https redirect ?
« Reply #3 on: August 15, 2018, 04:30:10 PM »
{.add header|location: https://google.com.}

Follow members gave a thank to your post: