How customisable is error page content?
We have identified a few error pages and were wondering if/how we can edit the content so that they match the tone and voice of the rest of our site? For example:
- Access Denied - You do not have sufficient priviledges for this resource or its parent to perform this action. Click your browser's back button to continue.
- Page not found - the page you are trying to access was not found. Please check your URL for typos and try again.
- Node was not found - the core node you are trying to access was not found, it may have been deleted. Please refresh your page and try the operation again.
As far as I know, all you can do on the access denied page is update the message via text properties in Studio (in Studio > Text Editor). The key for the access denied page is: error.PermissionDeniedException.body. You can put html into the i18n string for links and paragraphs and such. Ours is below as an example. (No, I shouldn't be adding inline styles. But sometimes you do what you gotta do :-))
<div style="background-color:#ffffff;color:black;padding:20px;font-size:18px;border:3px solid #999999;"><p><strong>You don''t have permission to access this area of the Meraki Community.</strong></p><p>Please see <a href="https://community.meraki.com/t5/Community-Tips-Tricks/Resolving-access-issues-on-the-Meraki-Community/m-p/47762" style="color:#0097c8;">this document</a> to learn more about what might be going on and how to get access to the content you need!</p></div>
Not sure about the other error pages. And there may be more you can do for access denied page - that’s just all I’ve been able to figure out 🙂