Phone: 858-565-2171
Control Panel Login

 

How do I create custom HTML error pages for my website?

How do I create custom HTML error pages for my website?

In your LAMP Host Site Manager, click on the Error Pages link. There you can edit the individual errors. The most common is "404" (file not found), but you can also define custom errors for code 400 (Bad Request), 403 (Forbidden), 500 (Internal Server Error).

An additional approach would be to define a default header and footer for all error pages.

Error pages may include PHP code.