CQ5.3 Upgrade: /content/-/ URL mapping doesn't work after 5.3 upgrade

Issue

  • After upgrading to CQ5.3 I can no longer access the site by excluding "/content" from the URL.
  • When I try to add the /content/-/ mapping back via the /system/console/configMgr ResourceResolver configuration then after we restart the server the change is lost.

Cause

The /content/-/ mapping was removed in CQ5.3 and the loading order of Apache Felix configurations have changed in the version of Felix that ships with CQ5.3.

For more information on the Felix configuration loading order in CQ5.3 see this article [1]

Resolution

You can re-enable the /content/-/ mapping by doing the following

  1. Log into /crx as admin
  2. Open Content Explorer
  3. Create the folder path /apps/sling/config using sling:Folder node types
  4. Copy this node /libs/sling/config/org.apache.sling.jcr.resource.internal.JcrResourceResolverFactoryImpl to /apps/sling/config/
  5. Add /content/-/ to the String property resource.resolver.mapping
  6. Click Save All

References

[1] Loading order Felix configuration

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online