WebSite X5Help Center

 
Stephen C.
Stephen C.
User

Page 404 not working  en

Auteur : Stephen C.
Visité 683, Followers 1, Partagé 0  

I have created a Page 404 for my website but can't get it to fire up on error. I still get the host's generic 404 if I test by trying to call up a non-existent page.  I have the page set as "Page 404" and it is hidden, as per the guidance.  What else should I be doing to make sure that it fires up?

Posté le
3 RéPONSES
Paul M.
Paul M.
Moderator

Hello Stephen,

This is something that needs to be set on the server: WebSite X5 can help you design and create a custom 404 page, but the implementation must be done server side.

Your webhost will be able to assist you with this.  There are different ways to configure error pages.  If you are on Apache hosting then it's quite common to use an .htaccess file.  WebSite X5 will helpfully add entries for your error pages to the .htaccess file, but these will only be utilised on Apache hosting, and only if they are not overridden by other settings on the server.

There might well be a setting in your hosting control panel which allows you to make certain changes to the error page configuration yourself.  But if not, then your webhost can advise further.

Kind regards,

Paul

Search the WebSite X5 Help Center

Lire plus
Posté le de Paul M.
Andy A.
Andy A.
User

Stephen, dont know if this will help,

but attached is my .htaccess file  with 404 instruction within and a redirect for HTTPS version of site..

Thats how i get mines to work, on IONOS.   

to check a 404 page, just type in a random page, but ensure youput .html @ end of address.  

eg. raithfruit.com/easy.html

Not the most inventive 404 but does the Job..

Hope this helps..

Lire plus
Posté le de Andy A.
Stephen C.
Stephen C.
User
Auteur

Thanks Paul and Andy - I'll investiage both of these suggestions

Lire plus
Posté le de Stephen C.