WebSite X5Help Center

 
Kevin Prince
Kevin Prince
User

5 second redirect after 404, How?  en

Autore: Kevin Prince
Visite 1487, Followers 1, Condiviso 0  

HI,

is it possible to redirect the site after an Error 404 with a time delay of between 5-10 seconds.

Postato il
5 RISPOSTE
John S.
John S.
User

You can use this on the 404 page:

<meta http-equiv = "refresh" content = "2; url = http://calendarforum.dk/" />

The content = 2 will redirect after 2 seconds.

Leggi di più
Postato il da John S.
John S.
John S.
User

You could make the setting to 10, and then also on the page a "button" for immediate direct.

Here I have a very old example of redirection when trying to acces a restricted page. Made in X5 ver 11

http://www.john-schwartz.dk/page-50.html

Try clicking on the "page 52" or the "area 1"

Leggi di più
Postato il da John S.
John S.
John S.
User

When you are on the "redirection page" you can click CTRL+U.

This will open a tab with the source, where you are able to see the source for the redirection and for the "go now" and the "go back".

The "go now" will immediately redirect.

The "go back" will bring the user back to where he came from when he made the "call" that lead to the "redirection page".

Leggi di più
Postato il da John S.
John S.
John S.
User

Just in case :

You specify your 404 page here :

The code needed, ( the meta... eventually the "go now" and "go back" ) you put in one or more html-object(s)

Leggi di più
Postato il da John S.
Kevin Prince
Kevin Prince
User
Autore

Just a quick reply, thanks. I'll get a go at it tomorrow. Not sure I understand it but will give it a look.

Regards

Leggi di più
Postato il da Kevin Prince