I would like to set up from one page to another on a specific day and time.
e.g .:
from: https://cvo-gesamtschule.de
on: December 15th, 2020 at 7:00 p.m.
on: https://cvo-gesamtschule.de/Termine/
Redirect.
How do I do that?
Best regards
Sefa
I would like to set up from one page to another on a specific day and time.
e.g .:
from: https://cvo-gesamtschule.de
on: December 15th, 2020 at 7:00 p.m.
on: https://cvo-gesamtschule.de/Termine/
Redirect.
How do I do that?
Best regards
Sefa
Put a small JavaScript in the header of the index / homepage and adjust the date and target url
So your example would be (Time is UTC)
var targetDate = new Date(new Date('2020-12-15T18:00:00Z'));
if ( new Date() > targetDate ) {
window.location = '/Termine';
}
My Tardis stack allows you to target specific dates and times. You could put my redirect stack inside of it to setup a redirect at a specific start date and even stop at the specific end date as well.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.