I cannot change the error pages on my website

i cannot change the error pages for my website
can u guys help?

I can try to help you with this, but to do so, it would help a lot if I had clear and specific reproduction steps.

So, could you please specify:

Which error page, and what do you want to set it to?

Which website?

1 Like

If you cannot, then you must edit your .htaccess file.

Open your .htaccess file in htdocs.

Now, you can setup some error pages.

ErrorDocument 404 /404.html

This sets the 404 Not Found page to /404.html.

If you want the common ErrorDocument pages, then you’ll have to use

ErrorDocument 401 /401.html
ErrorDocument 403 /403.html
ErrorDocument 404 /404.html
ErrorDocument 502 /502.html

where should I upload the error html files?

wherever you want inside the htdocs folder (subdir error also)
just make sure the path is correct in .htaccess

just don’t call the folder errors because it’s a reserved name (webserver use it)


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.