WebSite X5Help Center

 
Kevin Prince
Kevin Prince
User

5 second redirect after 404, How?  en

Автор: Kevin Prince
Просмотрено 1304, Подписчики 1, Размещенный 0  

HI,

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

Размещено
5 Ответы
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.

Читать больше
Размещено От 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"

Читать больше
Размещено От 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".

Читать больше
Размещено От 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)

Читать больше
Размещено От John S.
Kevin Prince
Kevin Prince
User
Автор

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

Читать больше
Размещено От Kevin Prince