Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

RedirectTarget Not Working in AEM 6.2

Avatar

Level 4

Hi Team,

Page properties redirectTarget property is not working in AEM 6.2.

Even it's not working on we retail reference site.

If someone have faced this issue.Please help us.

Regards

Ankur

25 Replies

Avatar

Level 4

Feike Visser wrote...

Can you share more details?

 


Hi Feike,

I have created a page component same as we retail reference site then using this page componenti have created a template using template editor.

Using which i have created a page .

On this page if we go to page properties -->advanced tab ----> redirect path property and configure a path , page should be redirected to corresponding page but it's not happening in my custom template and even on reference site.

Regards

Ankur

Avatar

Level 10

If its not working on We Retial - please log a bug so ENg can fix, 

Avatar

Employee

These two examples also don't work:

/content/geometrixx.html

/content/geometrixx-media.html

Avatar

Level 4

Feike Visser wrote...

These two examples also don't work:

/content/geometrixx.html

/content/geometrixx-media.html

 

Thanks Feike for looking into it.

What shall we do now?

Do we have any fix for this issue?

Avatar

Employee

The redirect works on publish only, if I add wcmmode=disabled on author the redirection works,

Avatar

Level 4

Feike Visser wrote...

The redirect works on publish only, if I add wcmmode=disabled on author the redirection works,

 


Hi Fieke,

I was trying with wcmmode=disabled only as it use to work with wcmmode=disabled only on 5.6.1 also.

But its not working for me with wcmmode=disabled for our project as well as on we retail reference site.

Did you try on we retail reference site?

Regards

Ankur

Avatar

Employee

start AEM: java -jar cq-quickstart-6.2.0.jar -r publish -p 4503

 

then this redirection works for me: localhost:4503/content/geometrixx-outdoors.html

Avatar

Level 4

Feike Visser wrote...

start AEM: java -jar cq-quickstart-6.2.0.jar -r publish -p 4503

 

then this redirection works for me: localhost:4503/content/geometrixx-outdoors.html

 

Hi Fieke,

Please try on  atemplate which inherits wcm/foundation/components/page and not foundation/components/page.

As it works on foundation/components/page.

Thats why its working on geometrixx outdoors and not on we -retail.

Regards

Ankur

Avatar

Employee

I can see it now, looking at wcm/foundation/component/page I don't see any code for the redirect.

So I am not sure if this is a bug, or whether it is not supported (yet);

Avatar

Level 4

HI Fieke,

Thanks for the reply.

Finally i am able to convince you :)

So now what do you suggest , shall i raise a ticket?

Regards

Ankur

Avatar

Employee

You can raise indeed a ticket.

I am not sure whether it is a bug or improvement.

best,
Feike

Avatar

Level 1

Is there any update for a fix for this?  Or recommended work around?

Avatar

Level 4

katym51303917 wrote...

Is there any update for a fix for this?  Or recommended work around?

 

For now i am using redirect.jsp which we were using in 5.6.1 and same jsp i have included in my head.html

Avatar

Level 1

The root geometrixx page (/content/geometrixx) uses a page with the sling:resourceType: foundation/components/redirect.  You could create a template in your project that uses this page component to create specific redirect pages. (/HT Kunal Mittal)

Avatar

Level 2

Hi Feike,

Is there any fix released for this issue ? Or some input which will be completely based on AEM6.2 ?

Best Regards,

Talk.

Avatar

Employee

No fix or update on this. I recommend you raise a support ticket for this case.