Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
Hi,
I have configured the OOTB Service to remove the .html extension from the URL
Day CQ Link Checker Transformer
Selected the checkbox "Strip HTML Extension"
It works fine for the URL that ends with .html for not for the URL that have suffix
Example:
Working :
http://localhost:4502/content/project/pages/demo.print.html rewritten to http://localhost:4502/content/project/pages/demo.print
Not working:
http://localhost:4502/content/project/pages/demo.print.html/a/b/c
is not rewritten to http://localhost:4502/content/project/pages/demo.print/a/b/c
** print is the selector
** /a/b/c is the suffix
Solved! Go to Solution.
For this you would need to write an outbound rewrite rule in dispatcher and/or publisher.
https://techcookies.in/2017/03/27/basic-url-rewrite-rules-hiding-the-content-root-from-url/
View solution in original post
Views
Likes
Replies