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

Akhil31
Kilo Contributor

@Ankur Bawiskar - Hi Could you please suggest me a solution

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

can you explore on this?

6 ways to set up your Service Portal for redirection SUCCESS!

How to configure redirection for Service Portal

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Can anyone please help me understand how to setup redirection to "404 Record not found" when retired knowledge articles are accessed and they don't have replacement article to which they can redirect otherwise.

 

PFB thread which explain, 301 and 404 redirections are Tokyo feature :

 

https://www.servicenow.com/community/it-service-management-forum/set-up-301-and-404-redirects-for-re...

 

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