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

Author: E.G. Teljeur
Visited 640, Followers 1, Shared 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?

Posted on the
2 ANSWERS - 1 USEFUL - 1 CORRECT
Aleksej H.
Aleksej H.
Moderator

Hello. Try this.

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

Read more
Posted on the from 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

Read more
Posted on the from Esahc ..