How do I create custom error pages?
This FAQ will help you to create custom error pages on your hosting package
123 Reg Hosting Packages allow you to create your own error pages for use when your website creates an error. They can be jovial, informative or a mix of both.
To create a custom error page, you will need to do the following:
Step 1 of 6
Open Notepad or a similar text editor
Step 2 of 6
Copy and paste the following text into your new .htaccess file:
ErrorDocument 400 http://www.mydomain.co.uk/400.html ErrorDocument 403 http://www.mydomain.co.uk/403.html ErrorDocument 404 http://www.mydomain.co.uk/404.html ErrorDocument 500 http://www.mydomain.co.uk/500.html
Step 3 of 6
Replace "mywebsite.co.uk" with your own domain name, then save the file with the file name ".htaccess"
Step 4 of 6
Make sure that the file type is set to "All Files".
Step 5 of 6
Click the "Save" button.
Tip:You will need to upload the error pages, e.g. 404.html
Step 6 of 6
Upload the .htaccess file to your webspace.