How to correctly show a 404 page when a non existed sub page is called.
Автор: E.G. Teljeur
Просмотрено 935,
Подписчики 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?
Размещено
Hello. Try this.
If this does not help, try getting advice from your hosting technical support.
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