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

Autore: E.G. Teljeur
Visite 890, Followers 1, Condiviso 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?

Postato il
2 RISPOSTE - 1 UTILE - 1 CORRETTO
Aleksej H.
Aleksej H.
Moderator

Hello. Try this.

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

Leggi di più
Postato il da 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

Leggi di più
Postato il da Esahc ..