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

Entire html is wrapped by div tag on "viewsourcepage"

Avatar

Avatar
Validate 1
Level 2
santhoshk392709
Level 2

Likes

3 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
santhoshk392709
Level 2

Likes

3 likes

Total Posts

11 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 3
Boost 1
Affirm 1
View profile
santhoshk392709
Level 2

12-12-2018

Hi,

I have 404 page in AEM 6.2 and if I change 404 to some random errors.html it is redirecting to 404 page. I have observed that the html is wrapped by <div> tag on viewsourcepage. Any solution to get rid off div tag ?? I have tried with cq:noDecoration: {boolean} true also unfortunately have noticed side effects on component level. So looking for any other solution.

Below is the sample viewsourcepage code:

1645036_pastedImage_0.png

--Santhosh

View Entire Topic

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

183 likes

Total Posts

233 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

183 likes

Total Posts

233 posts

Correct Reply

70 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

13-12-2018

Hi Santhosh,

404 page mostly do not use any template. You may need to check whether the redirect is happening from apache or there will be 404 file under /apps/sling/servlet/errorhandler/404.jsp (in my case). You can check the 404 jsp files.