Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

404 Error Page in Angular SPA

ChazUK
Level 1
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?

Experience Manager SPA
1 Accepted Solution
asutosh_jena
Correct answer by
Community Advisor
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
asutosh_jena
Correct answer by
Community Advisor
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