Page MenuHomePhabricator

Create redirect for legacy blog.wikimedia.org/blog/ links
Open, LowPublic

Description

From about 2009 to 2011, posts on the blog had the URL structure blog.wikimedia.org/blog/(slug), which was later moved to blog.wikimedia.org/(slug) , 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.

[1] https://web.archive.org/web/20130123202032/http://blog.wikimedia.org/blog/2009/10/27/wikimedia-finds-a-new-home/
[2] https://en.wikipedia.org/w/index.php?title=Special:LinkSearch&limit=500&offset=0&target=blog.wikimedia.org%2Fblog
[3] https://meta.wikimedia.org/w/index.php?title=Special:LinkSearch&limit=500&offset=0&target=blog.wikimedia.org%2Fblog

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: Wikimedia-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 blog.wikimedia.org before the July 2014 relaunch (per Faidon on RT). We made a decision to drop the globalblog.wikimedia.org and communityblog.wikimedia.org domains; but https://techblog.wikimedia.org is still redirecting (although no longer to the "technology" category, for technical reasons).


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

RewriteRule ^/feed/(.*) http://blog.wikimedia.org/c/technology/feed/$1 [R=301]
RewriteRule ^/category/(.*) http://blog.wikimedia.org/c/$1 [R=301]
RewriteRule ^/20(.*) http://blog.wikimedia.org/20$1 [R=301]
RewriteRule ^/wp-content/(.*) http://blog.wikimedia.org/wp-content/$1 [R=301]

RewriteCond %{HTTP_HOST} ^communityblog.wikimedia.org
RewriteRule ^/$ http://blog.wikimedia.org/c/community/ [R=301]
RewriteCond %{HTTP_HOST} ^techblog.wikimedia.org
RewriteRule ^/$ http://blog.wikimedia.org/c/technology/ [R=301]
RewriteCond %{HTTP_HOST} ^globalblog.wikimedia.org
RewriteRule ^/$ http://blog.wikimedia.org/c/global/ [R=301]
RewriteCond %{HTTP_HOST} ^blog.wikimediafoundation.org
RewriteRule ^/$ http://blog.wikimedia.org/ [R=301]

gpaumier removed a subscriber: gpaumier.Jul 18 2018, 6:07 PM
Restricted Application added a project: Internet-Archive. · View Herald TranscriptJul 18 2018, 6:07 PM
Aklapper removed Tbayer as the assignee of this task.Apr 22 2019, 11:45 AM

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.