404 error page, trying to setup but cannot find how

hi, trying to create a 404 error page.. but stills searching for a how to..

someone can tell me how or can tell me exact where to find it?

Hi vloerengilde,

We’ll get back to you with a fuller answer, but this typically involves creating a 404.html page in your root directory (in Xway).

For ideas on what a 404 page should look like:

You can view the Softpress 404 error page at Page not found (404). It’s also easy to view 404 pages for other websites by entering a bogus address (e.g. https://apple.com/bogus.html).

You might also need to add an entry in a .htaccess file.

If creating a 404.html page in the root of your document (and uploading) does not solve it, you may need to check with your hosting provider. /404.html is a very common configuration but it does entirely depend on how they configure it.

The filename may also be something you can look up or configure in their dashboard for your account, so it’s worth looking at their help pages to see if they have anything on it. I would expect just searching for “404” in their knowledge base or such to find something.

Updating from my own experience:

I have a website with HostPapa, who took over MacHighway.

  1. I created a “Page Not Found (404)” page in Xway and gave it the filename 404.html and uploaded from Xway. Entering an invalid page address within my domain continued to display an old “Page Not Found” page.
  2. Logging into HostPapa, and clicking on “myCpanel” I found a link that allowed me to edit error pages (Advanced > Error Pages). However, what I wanted to do was to replace the cPanel error page with my own error page.
  3. I noticed that the cPanel error page was called 404.shtml, so I renamed my page with an shtml suffix and re-uploaded it from Xway. When I entered an invalid address in my domain, the browser still displayed the old error page.
  4. I found an entry in the HostPapa knowledge base that explained how to edit .htaccess files, so I followed the HostPapa instructions for doing this (including: first backup the existing .htaccess file).
  5. I added the following entry: ErrorDocument 404 /404.html after the .htaccess header, and renamed my Xway page back to 404.html (not 404.shtml)
  6. This worked.

If you’re with HostPapa, you could try doing the same. Otherwise, see if your web host has a knowledge base that you can search for “404 error page” (as Simon suggested above!)

I asked AI for information on how to do a 404 page and it gave me the code and told me where to install it. Plain and simple, redirects to my homepage.

What code?

Did it tell you anything that’s not in the previous discussion?

thanx alot, i will follow the advice and work it out.