Even if you don't have any of those, you will receive Apache's standard 40x or 50x server error messages (usually plain black text on a white screen).
What files are in your "errors directory" that you mention? Is that where your web host has ready-made custom error document files? If so I don't think there's any need to create them in Joomla. Just use the ones that are already provided.
If you want to customise them you can do so external to Joomla. Design the pages (use Notepad++ to create basic HTML pages) for each of the 40x or 50x error pages you need. Reference them in your .htaccess file like(for each of the required 40x or 500x errors you need an error page).
If you search the web for "server error templates" you might find some HTML templates to get you started. Again, this would be outside of Joomla, so you would be raw-coding. I also expect your web host would have documentation on how to create custom HTTP error messages
Ultimately, of course, the aim is never to need any of those error pages and always have a smoothly operating website.
What files are in your "errors directory" that you mention? Is that where your web host has ready-made custom error document files? If so I don't think there's any need to create them in Joomla. Just use the ones that are already provided.
If you want to customise them you can do so external to Joomla. Design the pages (use Notepad++ to create basic HTML pages) for each of the 40x or 50x error pages you need. Reference them in your .htaccess file like
Code:
ErrorDocument 404 /errors/not_found.htmlErrorDocument 500 / errors/server_error.html
If you search the web for "server error templates" you might find some HTML templates to get you started. Again, this would be outside of Joomla, so you would be raw-coding. I also expect your web host would have documentation on how to create custom HTTP error messages
Ultimately, of course, the aim is never to need any of those error pages and always have a smoothly operating website.
Statistics: Posted by AMurray — Thu May 02, 2024 9:53 pm