Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Hyphens missing in the page name

Avatar

Avatar
Validate 10
Level 3
andyshreve
Level 3

Likes

15 likes

Total Posts

39 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 10
Level 3
andyshreve
Level 3

Likes

15 likes

Total Posts

39 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
andyshreve
Level 3

15-10-2015

Normally when I author a new page in AEM 6.0, AEM takes the spaces in the page title and replaces them with hyphens in the page name. However, at one of my AEM 6.0 instances, AEM fails to insert hyphens into the page name as expected, so a page titled "my test page" becomes named "mytestpage" instead of "my-test-page". There are no errors or warnings in the error log when this happens. Is there a specific AEM component, configuration, or bundle in the web console that handles this? 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 3
andyshreve
Level 3

Likes

15 likes

Total Posts

39 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 10
Level 3
andyshreve
Level 3

Likes

15 likes

Total Posts

39 posts

Correct Reply

10 solutions
Top badges earned
Validate 10
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
andyshreve
Level 3

15-10-2015

Here's how I fixed this. There is an ootb component at http://localhost:4502/system/console/configMgr/com.day.cq.wcm.core.impl.PageManagerFactoryImpl which normally swaps illegal characters with hyphens by default. This component is the "Day CQ WCM Page Manager Factory". It has a configuration field labeled "Illegal Char Mapping" that is normally empty since it is hardwired to use a hyphen. I tried unbinding this component several times but that did not fix the problem. My fix was to just type a hyphen in the Illegal Char Mapping field and then click Save.

Answers (0)