Forum Moderators: phranque
[edited by: phranque at 11:13 am (utc) on Jun 18, 2013]
[edit reason] Please Use Example.com [webmasterworld.com] [/edit]
GET /index.html HTTP/1.1
Host: www.europe.example.com
HTTP/1.1 301 Moved Permanently
Location: http://www.example.com/countries/europe/
----------------------------------------------------------
GET /countries/europe/ HTTP/1.1
Host: www.example.com
HTTP/1.1 301 Moved Permanently
Location: http://www.example.com/europe/countries/europe/
----------------------------------------------------------
GET /europe/countries/europe/ HTTP/1.1
Host: www.example.com
HTTP/1.1 404 Not Found
RewriteOptions Inherit RewriteCond %{REQUEST_URI} ^/(.+/)?index\.html?$
RewriteRule ^ /%1 [R=301,L]
you are correct in your understanding and you support my point.
two 301s lose as much PR as following a link through two pages.
the lesson is to link internally to the canonical url and fix externally referred non-canonical requests in a single redirect.