Categories
Add your own 404 page
If you want to create a custom 404 page for your website then you can do it in the way below.Like we did for example:
To set this up you can add it the following way via the control panel -> websites. You can use FTP or the file manager to create your own 404 page. If you follow our example literally the name 404.php can be used.
After this your 404 report is live:
If you want to do this directly in the web.config file, you can do this in the following way:
webServer>
/>
"index.php" />
errorMode="DetailedLocalOnly" existingResponse="Auto">
statusCode="404" subStatusCode="-1" />
"404" subStatusCode="-1" prefixLanguageFilePath="" path="404.php" responseMode="File" />
.webServer>