AEM 6.5 - Need clarification on externalizer/link checker/rewriter functionality working in OOTB we-retail pages.



Hi All,

We have set up 6.5 author and publish local machine.

On activation of page, for ex: http://localhost:4502/editor.html/content/we-retail/us/en/men.html and checking on publish

http://localhost:4503/content/we-retail/us/en/men.html for "Experience" section in footer, we see that "/content" is stripped off from

http://localhost:4503/we-retail/us/en/experience.html in publish.

Tried debugging multiple things to see how its working, but no luck.

Any thoughts/pointers on this will be helpful.


Accepted Solutions (1)

Accepted Solutions (1)



You can check few links -

1- atus-code/


Redirection of request URLs in AEM can be configured at the Sling level, typically in the mapping configuration under /etc/map node. Depending on the requirements, there are times when customers would like to change the default HTTP status code for redirection. And here you will find two ways of changing the status code:

The sling:status way

Documented in ml already, you may use sling:status property to set a specific status code for a particular redirection. To extend the example given on the page linked above:

      +-- http
           |    +-- sling:redirect = ""
           |    +-- sling:status = "301"

Via OSGi configuration

Another way, which really sets the default for all redirection, is to configure the status code at the OSGi bundle level. In the OSGi console, browse the the Configuration page and locate:

“Apache Sling Resource Resolver Factory”

and change the redirect status field to whatever status code is appropriate (highlighted in diagram below).

[img][/ img]

Another one can refer -

Hope it helps..

Thx, Anuj

Answers (2)

Answers (2)



In addition to that check 'url mapping' field in  'Apache Sling Resource Resolver Factory' configuration, there could be a mapping there leading to the behavior. But it would impact all the urls, not just experience. /Content will be stripped from all urls having /content. If it is happening just for specific url check /etc/map




cquser1​ For your query "

"/content" is stripped off from

http://localhost:4503/we-retail/us/en/experience.html in publish."

>> Did you check in etc/map or sling:internal redirect rules? it should be stripping off from there. Rewriter is responsible for such behavior , so check rewrite config.