WebSite X5Help Center

 
Kevin Prince
Kevin Prince
User

5 second redirect after 404, How?  en

Autor: Kevin Prince
Visitado 1302, Followers 1, Compartido 0  

HI,

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

Publicado en
5 RESPUESTAS
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.

Leer más
Publicado en de 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"

Leer más
Publicado en de 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".

Leer más
Publicado en de 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)

Leer más
Publicado en de John S.
Kevin Prince
Kevin Prince
User
Autor

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

Leer más
Publicado en de Kevin Prince