最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

AEM Publish does not redirect pages - Stack Overflow

programmeradmin0浏览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.

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

It seems that I have the solution.  Day CQ WCM Filter - the WCM Mode option should be "Disabled", but it was "Edit".

发布评论

评论列表(0)

  1. 暂无评论