Solved
Dispatcher Doubt Regarding Mod Rewrite
Hi All,
I am exploring dispatcher rewrite rules and i'm fairly new to this.
<IfModule mod_rewrite.c>
#Enable this to debug the redirect logs
RewriteEngine on
# remove any trailing slash, if it's there.
RewriteRule ^(.+)/$ $1
#Shorten the URL
RewriteRule ^/content/we-retail/us/(.*).html$ $1.html [R,L]
#Map the root folder to the home page
RewriteRule ^/?$ en.html [R,L]
</IfModule>
The root path does resolve to en.html but it gives a 404 error instead of the internal redirect happening.
Is some additional configuration required for getting this working as expected?