Custom 404 page for portal

Akhil31
Kilo Contributor

Hi,

We are having a requirement of creation a new 404 portal such that if any user tries to navigate to a page which does not exist or for which they do not have the relevant permissions to access, they are redirected to the custom 404 page and the URL presented to the end user should be https://(instance).service-now.com/404error. 

How can I achieve this, could you please suggest.

Thanks, 

Akhil 

 

1 ACCEPTED SOLUTION

SumanthDosapati
Mega Sage
Mega Sage

Hi Akhil,

> Open https://(instance).service-now.com/sp_config

> Click on Designer

> Click on 'Add a new page'

> In Page Id give '404error'

Now again open sp_config as in step 1

> Click on Portals in Header

> Select your portal in Dropdown

> A tree formatted structure will be visible

> Now Click on Portal name in the tree appeared

> A form will be loaded below

> In that form, in 404 page field, select '404error' which you created in the begin

> Click on Save.

 

Mark as correct and helpful if it solved your query.

Regards,

Sumanth

View solution in original post

6 REPLIES 6

Hi Sumanth,

I created a page and inserted a container and I added an instance in it like thisfind_real_file.png

but I am getting a blank page 

find_real_file.png

This is how page should look only this message.

Thanks,
Akhil

You can do it from page designer itself.

> Open https://(instance).service-now.com/sp_config

> Click on Designer

> Select your 404 page

> Add container

> Add 12 size layout

> Add HTML type widget

> Click on pencil icon on html widget and add your 404 image or HTML code as required.

 

Mark as correct and helpful if it solved your query.

Regards,

Sumanth