WebSite X5Help Center

 
E.G. Teljeur
E.G. Teljeur
User

How to correctly show a 404 page when a non existed sub page is called.  en

Автор: E.G. Teljeur
Просмотрено 889, Подписчики 1, Размещенный 0  

I created a 404 page in Website X5 EVO. It works correctly example http://www.luciej.nl/test All menu options are working. But when the URL is linking to a subpage, for example http:/www.luciej.nl/test/test the page not shown properly.  I do understand why that is because the generated code has a relative path to the stylesheets and all. Is there somehow a workaround for this?

Размещено
2 Ответы - 1 Полезно - 1 Корректно
Aleksej H.
Aleksej H.
Moderator

Hello. Try this.

If this does not help, try getting advice from your hosting technical support.

Читать больше
Размещено От Aleksej H.
Esahc ..
Esahc ..
Moderator

Like Aleksej said, check your .htaccess file, since you are using evo you had no choice but "hand code" your error document. Did you point to 404.html or fully define the path to it including your domain name?

This is in my .htaccess file ErrorDocument 404 http://www.esahc.com/404.html

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