Skip to main content

How to customise your Error pages


Frank
  • Product Guru
  • 22 replies

In this article we will discuss how to change the phrasing for the 403, 404, and 500 error pages, which are typically used to deny a user access to a page. They may need to log in or become a customer before they can view the page. 

 

A phrase is customizable text on your community platform. For example, if you wanted to change the “Log in” button to say “Lets go!” you would be changing the phrase. All phrases have a default setting, but almost all language on the platform can be changed. 

 

Usually, you can change text strings right on the community with our live edit too; however, some phrases need to be changed manually on the back end. For this, you will need to know the certain codes, which we will cover below. 

 

To get started: 

  • Navigate to Control environment Customization Phrases

  • In the upper right hand corner, click on “Add phrase” 

 

https://www.loom.com/share/3be33a698ec247a5a274164070561e2a

 

The phrase editor will appear, which is separated by two sections:

  • Details: Predetermined codes where the module and key do not change.

  • Translations: The customizable text that you’d like your new phrase to say. Here you can use HTML and/or images/gifs. 

**IMPORTANT**

To customize error pages, you need to create two SEPARATE phrases. One for the title and one for the body. See below: 

 

Below we will review the exact details needed for the Module and Key sections in the phrase editor. 

Error 403

The 403 error is shown when a user tries to view a page they don't have access to. For example, moderator boards or content only available for logged in users. 

Title:

Module:Forum

Key: error.403.title

Body:

We recommend creating two separate messages for 403 denied access pages. One to prompt users to login and one for users to be denied access even if they do log in, e.g., pages that only employees or partners can view.

Prompt user to log in

Denied access regardless of login 

Module: Forum

Module: Forum

error.403.guest

Key: error.403

 

As an example, I’ve included our 403 error phrases below. We have one phrase for the title and two different phrases for the body. 

 

Error 404

The 404 is a “page not found” error page, which is shown when users navigate to an incorrect url, e.g., a topic with a spelling mistake in the URL.

Title:

Module: Forum

Key: error.404.title

 

Body:

Module: Forum

Key: error.404

 

Error 500

This is the generic error page shown to users if the platform experiences any form of undisclosed fault e.g., an error during the SSO login process.

Title:

Module: Forum

Key: error.500.title

 

Body:

Module: Forum

Key: error.500

 

If you are having issues setting any part of these error pages up you can contact support and we will be happy to assist!

 

Did you find this topic helpful?

10 replies

  • Contributor ⭐️
  • 1 reply
  • April 2, 2020

Hi,

 

I’ve an other error message (If a link doesn’t exist → Example: https://community.tango.lu/internet-fixe), where I would like to adjust the text displayed. 

 

What kind of phrase can I use in this case ? 

 

Thanks.
Adrian


Julian
Forum|alt.badge.img+5
  • Gainsight Employee ⭐️⭐️⭐️
  • 907 replies
  • May 27, 2020

Hi Adrian,

I just stumbled over your question here, sorry, not really sure how we could have missed it - but it happened. :(

In case you have not found it out otherwise by now, here the phrase codes you need to enter in the Phrases section within the Control Environment:

 

For the title:

Module:

Forum

Key:

error.404.title

 

And for the body:

Module:

Forum

Key:

error.404

 

Let me know if there are any further questions!


Gabolino
Forum|alt.badge.img
  • Helper ⭐️
  • 163 replies
  • February 10, 2021
Julian wrote:

Hi Adrian,

I just stumbled over your question here, sorry, not really sure how we could have missed it - but it happened. :(

In case you have not found it out otherwise by now, here the phrase codes you need to enter in the Phrases section within the Control Environment:

 

For the title:

Module:

Forum

Key:

error.404.title

 

And for the body:

Module:

Forum

Key:

error.404

 

Let me know if there are any further questions!

 

Hey Julian, I tried creating the phrase via control, but haven’t been successful in editing the body of the text, which currently has a CTA to contact InSided 😞.

I used the details you provided above. Any help would be appreciated. 

Actually, never mind. It just took a few minutes to update :D


Julian
Forum|alt.badge.img+5
  • Gainsight Employee ⭐️⭐️⭐️
  • 907 replies
  • February 10, 2021

Good to hear that it worked in the end. 🙂 We noticed some delay in phrases being updated in the last few days. I will check with the team about this, hopefully it is just a temporary thing. If not, we might want to inform you while editing phrases to prevent confusion...


  • Contributor ⭐️⭐️
  • 3 replies
  • October 7, 2021

How do we set breadcrumbs on these error pages? I was able to change it on the 404 page by using the Phrases mode in the editor, but I can’t get to the other error pages when I’m logged in as an admin with the ability to edit Phrases so can’t do it that way. Is there a token like error.403.breadcrumb? Or a way to get error.403.title to appear there instead?


Julian
Forum|alt.badge.img+5
  • Gainsight Employee ⭐️⭐️⭐️
  • 907 replies
  • October 15, 2021

Hi John,

I was looking into this in the last couple of days, unfortunately I could not locate the default phrase for the breadcrumb in our internal documentation.

The problem is also that this error page is not easy to trigger, at least as far as I remember. This could help me to find that phrase.

I will be out of office next week but I will try to get you some help in this matter, so that you can improve this page.


  • Contributor ⭐️⭐️
  • 9 replies
  • October 3, 2022

Hi,

How do we update the image in the emails, e.g. activation emails etc? Will it automatically pull through the main site logo? 

Thank you in advance!

 

Ellie


revote
Forum|alt.badge.img+2
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 783 replies
  • July 15, 2024

We have this image (default image though?) in 404 error page:

 

These are the keys for this page:

  • error.404.title
  • error.404

But what key I should use to delete or change that image?


revote
Forum|alt.badge.img+2
  • VIP ⭐️⭐️⭐️⭐️⭐️
  • 783 replies
  • July 17, 2024

Anyone?


Kenneth R
Forum|alt.badge.img+5
  • Gainsight Community Manager
  • 424 replies
  • July 18, 2024

Just to close the loop - @revote I’ve responded in your other thread here.  :)

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings