Page MenuHomePhabricator

Create redirect for legacy links
Closed, ResolvedPublic


From about 2009 to 2011, posts on the blog had the URL structure, which was later moved to , with a 302 redirect pointing to the new URL (see e.g. [1]).

Since there are still quite a few (now broken) links to the old URLS (e.g. [2], [3]), it seems worthwhile to reinstate that redirect.


Event Timeline

Tbayer claimed this task.
Tbayer raised the priority of this task from to Low.
Tbayer updated the task description. (Show Details)
Tbayer added a project: Diff-blog.
Tbayer changed Security from none to None.
Tbayer added subscribers: DarTar, gpaumier.

And for the record, below are the Apache (*not* Wordpress) redirection rules that were present on before the July 2014 relaunch (per Faidon on RT). We made a decision to drop the and domains; but is still redirecting (although no longer to the "technology" category, for technical reasons).

RewriteRule ^/blog/(.*)$1 [R]
RewriteRule ^/category/(.*)$1 [R]
RewriteRule ^/2014/07/29/wikimedia-foundation-now-accepts-bitcoin(.*) /2014/07/30/wikimedia-foundation-now-accepts-bitcoin$1 [R]

RewriteRule ^/feed/(.*)$1 [R=301]
RewriteRule ^/category/(.*)$1 [R=301]
RewriteRule ^/20(.*)$1 [R=301]
RewriteRule ^/wp-content/(.*)$1 [R=301]

RewriteCond %{HTTP_HOST} ^
RewriteRule ^/$ [R=301]
RewriteCond %{HTTP_HOST} ^
RewriteRule ^/$ [R=301]
RewriteCond %{HTTP_HOST} ^
RewriteRule ^/$ [R=301]
RewriteCond %{HTTP_HOST} ^
RewriteRule ^/$ [R=301]

Resetting task assignee as the user is not active here anymore.

Aklapper added a subscriber: Krinkle.

@Krinkle: This does not seem to be about tech posts only (see T243407 for that), hence this sounds out of scope for Developer-Advocacy.
Might be WMF-Communications instead.

CKoerner_WMF claimed this task.
CKoerner_WMF added a subscriber: CKoerner_WMF.

After a bit of testing to verify, these posts are all redirecting appropriately to their home on Diff. Resolving broadly, but if you find a post where the URL is broken, please file a task and tag it with Diff-blog