Expand my Community achievements bar.

SOLVED

404 Error Page in Angular SPA

Avatar

Level 1

Hi,

 

Are there any examples on how to integrate a 404 Page within the Angular SPA? I've taken a look at the We Retail sample but can't find anything specific to 404 pages, everything seems to route through one path and resolver. Is there a way to catch the error on the resolver and redirect to a different URL or Component?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @ChazUK 

 

Please see the issue outlined below:

https://github.com/Adobe-Marketing-Cloud/aem-guides-wknd-events/issues/80

 

Looks like they made it work by modifying the 404.jsp. Let's give it a try and see if it resolves the issue.

 

Thanks!

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @ChazUK 

 

Please see the issue outlined below:

https://github.com/Adobe-Marketing-Cloud/aem-guides-wknd-events/issues/80

 

Looks like they made it work by modifying the 404.jsp. Let's give it a try and see if it resolves the issue.

 

Thanks!