Sling redirect in AEM.

Published: 27 May 2018
on channel: AEM and Devops Tutorial
7,807
40

Sling redirect in AEM. Using sling redirect you can redirect to different page by hitting a url of other page. It can be achieved using sling redirect.

In this video I have shown how to redirect to english page by hitting the root page.

We need to add 3 properties in the jcr:content node of page as follows:

1) redirectTarget : /content/we-train/en

2) Sling:redirect : true

3) Sling:redirectStatus : 302

Modify sling:resourceType = foundation/components/redirect this is the redirect component available out of the box.


share, support, like and subscribe
Subscribe : https://www.youtube.com/channel/UC5Lc...
LinkedIn :   / pankaj-ch.  .
Facebook :   / pankajchhatri  
Twitter :   / pankajchhatri  
Google plus : https://plus.google.com/u/0/+pankajch...

About : AEM/CQ5 tutorial is a youtube channel which helps you to learn AEM concepts theoretically as well as practically.


Watch video Sling redirect in AEM. online without registration, duration hours minute second in high quality. This video was added by user AEM and Devops Tutorial 27 May 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 7,80 once and liked it 4 people.