I'm trying to fix a test environment with AEM and spotted such an issue: the Publish instance behaves more like an Author. Specifically, a page that is configured in properties to work like a redirection to another page does not actually redirect but displays a message "This page redirects to (link to the target page)" instead.
I have already checked that:
- the run mode set in command line is actually "publish"
- when the page address has a query parameter "?wcmmode=disabled", the redirection works correctly (as if it was called on Author with "View as Published" option)
- the behaviour is the same regardless whether the page is opened as a logged in user or an anonymous one.
Example
Actual behaviour:
- the page
[host:publish_port]/content/we-retail.html
displays "This page redirects to English"
Expected:
- the page should send
302 Found
with redirection to[host:publish_port]/content/we-retail/us/en.html
Has anyone faced such an issue? What could be the root cause and how to fix it?
AEM version is 6.5.21.0.
I'm trying to fix a test environment with AEM and spotted such an issue: the Publish instance behaves more like an Author. Specifically, a page that is configured in properties to work like a redirection to another page does not actually redirect but displays a message "This page redirects to (link to the target page)" instead.
I have already checked that:
- the run mode set in command line is actually "publish"
- when the page address has a query parameter "?wcmmode=disabled", the redirection works correctly (as if it was called on Author with "View as Published" option)
- the behaviour is the same regardless whether the page is opened as a logged in user or an anonymous one.
Example
Actual behaviour:
- the page
[host:publish_port]/content/we-retail.html
displays "This page redirects to English"
Expected:
- the page should send
302 Found
with redirection to[host:publish_port]/content/we-retail/us/en.html
Has anyone faced such an issue? What could be the root cause and how to fix it?
AEM version is 6.5.21.0.
Share Improve this question asked Mar 12 at 12:07 pkalinowpkalinow 1,7391 gold badge17 silver badges46 bronze badges1 Answer
Reset to default 0It seems that I have the solution. Day CQ WCM Filter - the WCM Mode option should be "Disabled", but it was "Edit".