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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ManOnTheMoon
ManOnTheMoon
Offline

Badges

Badges
5

Accepted Solutions

Accepted Solutions
1

Likes Received

Likes Received
1

Posts

Posts
3

Discussions

Discussions
0

Questions

Questions
3

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by ManOnTheMoon
Customize the badges you want to showcase on your profile
Re: Removing .html extension at dispatcher, sling:mapping, and vanity URLs conflict - Adobe Experience Manager 30-05-2017
The solution - check if the file ends with an extension that exists on the site before rewriting. Like below. RewriteCond %{REQUEST_URI} !\.(html|jpg|jpeg|gif|png|tif|pdf|doc|docx|xls|xlsx|ppt|pptx|swf|css|js|svg)$

Views

2.6K

Like

1

Replies

0
Re: Removing .html extension at dispatcher, sling:mapping, and vanity URLs conflict - Adobe Experience Manager 30-05-2017
kautuksahni wrote... Please have a look at this forum threads: Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__kgnd-we_have_someurlsin.html // Dispatcher directly does not cache the page without an extension. But, one of the use suggested a workaround for this:- add the .html extension in the apache rewrite module. Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-man...

Views

2.6K

Likes

0

Replies

0
Removing .html extension at dispatcher, sling:mapping, and vanity URLs conflict - Adobe Experience Manager 26-05-2017
Hi, I am working on a website in which we must remove the .html from the url, allow vanity URLs and map content to /content/. Before the dispatcher, mod_rewrite is removing the .html from the URLs with the following rules - (e.g. changes /us/en/home.html to /us/en/home/: # Handle request with no slash and no extensionRewriteCond %{REQUEST_URI} !^/content/dam/.*RewriteCond %{REQUEST_URI} !.*\..*$RewriteCond %{REQUEST_URI} !.*/$RewriteRule (.*)$ $1/ [R,QSA]# Handle requests to pages ending with .h...

Views

5.6K

Likes

0

Replies

5
Likes from