Try our conversational search powered by Generative AI!

Geta.NotFoundHandler.Optimizely redirects not working for the pages where Authenticated security group is set

ZZ
ZZ
Vote:
 

Hi,

We are using Geta.NotFoundHandler.Optimizely for redirects. We are having trouble redirect pages that are not visible to everyone but only to our members.

All the pages that are behind login are not redirecting. 

12.23

e.g ->

https://www.test.com/my/page1     -> https://www.test.com/my/page2

#312820
Nov 20, 2023 12:04
Vote:
 

Just to ask the question and trying to pinpoint this, what happens if the restrictions on these pages are removed (temporaily), do the pages redirect as expected?

If this can be tested on a DXP enviornment, do any errors show in the passportal? Or debug this locally where errors can be logged/tracked

#312830
Edited, Nov 20, 2023 22:22
Vote:
 

Hello ZZ,

I believe the Geta Notfound Handler only actions it's redirect logic if it is a legitimate 404 error e.g. Content does not exist.  In your case the error is a 401 error at which point you'll need to add your own handler logic around users without permissions.

#313163
Nov 27, 2023 10:05
ZZ
Vote:
 

Thanks for the input Mark. 

You are right Geta Notfound handler redirects if its a genuine 404 error. We were trying to redirect from one page URL to another, both existed in CMS. 

So yes Get Notfound handler works as expected. We can redirect CMS page to another URL by using CMS page settings / options.

#313771
Dec 06, 2023 10:49
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.