Custom 500 Page

Everything to do with Joomla! 5.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
smusselman
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Feb 21, 2024 5:08 pm

Custom 500 Page

Post by smusselman » Wed Feb 21, 2024 5:24 pm

How do I edit the red 500 page that comes with Joomla? I want to brand it and also remove any references to Joomla.

1. I'm not sure what's generating it, so I don't know what file to override.
2. Is there a simpler way of doing this? Adding a 500.html file to the webserver?

I did see a file under templates/system/error.php. However, I couldn't figure out where the joomla .svg logo and the footer were being generated.

I'm a little hesitant to try to make a simple override as it seems to work with Joomla's debug capabilities.

We had some caching that was set up incorrectly, which maximized server resources, and this page was popping up for customers. We are fixing the caching issues, but don't want this page to display.

For now, I'm going to attempt to apply some display:none to the ids in the stylesheet. However, if there is a better way, please let me know.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30878
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Custom 500 Page

Post by Per Yngve Berg » Wed Feb 21, 2024 8:48 pm


User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9701
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Custom 500 Page

Post by AMurray » Wed Feb 21, 2024 9:10 pm

Either the abovementioned method or as you as you mentioned, you could make your own Error page (e.g. 500.html) and define it in the ErrorDocument directive in .htaccess.
Regards - A Murray
General Support Moderator


Post Reply

Return to “Templates for Joomla! 5.x”