Continuing the discussion from Gaconfig url builder bad impact on removing file extensions:
Hi,
Thanks for reply. Here is the rewrite rule.
#remove file Extension
#Redirect extension requests to avoid duplicate content
RewriteRule ^([^?]+)\.html$ $1 [NC,R=301,L]
#Internally add extensions to request
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*) $1.html [L]
Please help me with this.