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

404 Error Page in Angular SPA

Avatar

Avatar
Level 1
ChazUK
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
ChazUK
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
ChazUK
Level 1

27-04-2021

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?

404 AEM angular Error SPA

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

576 likes

Total Posts

687 posts

Correct Reply

199 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile

Avatar
Applaud 25
Level 10
asutosh_jena
Level 10

Likes

576 likes

Total Posts

687 posts

Correct Reply

199 solutions
Top badges earned
Applaud 25
Give Back 100
Boost 500
Affirm 100
Ignite 1
View profile
asutosh_jena
Level 10

27-04-2021

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!

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

224 likes

Total Posts

283 posts

Correct Reply

65 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile

Avatar
Springboard
MVP
Shashi_Mulugu
MVP

Likes

224 likes

Total Posts

283 posts

Correct Reply

65 solutions
Top badges earned
Springboard
Bedrock
Validate 1
Applaud 100
Establish
View profile
Shashi_Mulugu
MVP

27-04-2021