If the request_uri is starting with "^/country/location/London/" then any thing after "/country/location/London/(.*)" should redirect to "/$1" and fetch the data from back-end for "/country/location/London/$1"
尝试了如下规则。
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/country/location/london/ [NC]
RewriteRule ^/(.*)\.html$ /$1.html [NC,L,PT]
RewriteCond %{REQUEST_URI} ^/country/location/germany/ [NC]
RewriteRule ^/(.*)\.html$ /$1.html [NC,L,PT]