On 8 Jun 2015, at 16:13, Andre Klapper aklapper@wikimedia.org wrote:
Thanks to John and Daniel, a static HTML version of old-bugzilla exists at https://static-bugzilla.wikimedia.org [4]. It allows to still access those historical Bugzilla reports and the related history/activity.
I noticed that it serves content in two places now: https://static-bugzilla.wikimedia.org/show_bug.cgi?id=1 https://static-bugzilla.wikimedia.org/show_bug.cgi?id=1 https://static-bugzilla.wikimedia.org/show_activity.cgi?id=1 https://static-bugzilla.wikimedia.org/show_activity.cgi?id=1 and: https://static-bugzilla.wikimedia.org/bug1.html https://static-bugzilla.wikimedia.org/bug1.html https://static-bugzilla.wikimedia.org/activity1.html https://static-bugzilla.wikimedia.org/activity1.html
Can these be de-duplicated for search indexing? Either by 301 redirecting, or by using a rel=canonical HTTP Link-headers https://support.google.com/webmasters/answer/139066 https://support.google.com/webmasters/answer/139066
I suggest we consider the show_bug/show_activity urls as canonical to the public. The html files are secondary/internal, no need to expose those directly.
https://static-bugzilla.wikimedia.org/show_activity.cgi?id=1 https://static-bugzilla.wikimedia.org/show_activity.cgi?id=1 should not become a redirect.
On 8 Jun 2015, at 17:48, Legoktm legoktm.wikipedia@gmail.com wrote:
Will old-bugzilla redirect to static-bugzilla?
+1
Will bugzilla also redirect to static-bugzilla? E.g. https://bugzilla.wikimedia.org/show_activity.cgi?id=1 https://old-bugzilla.wikimedia.org/show_activity.cgi?id=1
should both 301 redirect to https://static-bugzilla.wikimedia.org/show_activity.cgi?id=1
All other bugzilla endpoints not covered by show_bug/show_activity I assume will become 404. (Seems acceptable). Currently they are 301 redirect to old-bugzilla.
-- Krinkle