W3C home > Mailing lists > Public > public-webplatform@w3.org > March 2013

RE: URL aliases for WPD without /wiki

From: David Kirstein <frozenice@frozenice.de>
Date: Tue, 19 Mar 2013 19:25:01 +0100
To: "'PhistucK'" <phistuck@gmail.com>
Cc: "'Lea Verou'" <lea@w3.org>, <public-webplatform@w3.org>
Message-ID: <002901ce24cf$12dc22d0$38946870$@frozenice.de>
1) there is no .com in docs.webplatform.org :P (btw, I’m used to typing stuff like “wpd.mx/Template:configurable query” now, so I wanted to mention this as a ready to use alternative)


2) “…it's a domain meant for providing shortlinks to WPD. It's perfect for sharing links in places with limited space (like the Doc Sprint Dashboard shown via a beamer or social media like Twitter), without resorting to external shortlink services. It's also used by the changes-announcing bot in #webplatform-bot.”




From: PhistucK [mailto:phistuck@gmail.com] 
Sent: Dienstag, 19. März 2013 19:05
To: David Kirstein
Cc: Lea Verou; public-webplatform@w3.org
Subject: Re: URL aliases for WPD without /wiki


But we only type starting from the .com/ part. ;) Using this makes us delete the whole thing and type seven more characters! :(




On Tue, Mar 19, 2013 at 5:59 PM, David Kirstein <frozenice@frozenice.de> wrote:

Hi Lea,


That’s exactly why I created the wpd.mx shortlink service some time ago! :)


In short it redirects wpd.mx/article to docs.webplatform.org/wiki/article + some other cool stuff!


Some examples from the README:

 <http://wpd.mx/> http://wpd.mx ->  <http://docs.webplatform.org/wiki/Main_Page> http://docs.webplatform.org/wiki/Main_Page

 <http://wpd.mx/tasks> http://wpd.mx/tasks ->  <http://docs.webplatform.org/wiki/WPD:Most_Wanted_Tasks> http://docs.webplatform.org/wiki/WPD:Most_Wanted_Tasks

 <http://wpd.mx/apis/canvas> http://wpd.mx/apis/canvas ->  <http://docs.webplatform.org/wiki/apis/canvas> http://docs.webplatform.org/wiki/apis/canvas

 <http://wpd.mx/gradient> http://wpd.mx/gradient -> Search for "gradient"


Also see my mail about the configuration on GitHub here: http://lists.w3.org/Archives/Public/public-webplatform/2013Feb/0019.html




Von: Lea Verou [mailto:lea@w3.org] 
Gesendet: Dienstag, 19. März 2013 16:32
An: public-webplatform@w3.org
Betreff: URL aliases for WPD without /wiki


Hi all,


I’m not sure if I’m in the minority, but I often type WPD URLs by hand, so typing the /wiki part every time is tedious. I was wondering if we could set up redirects for the top level paths (e.g. /css, /html, /svg etc) which redirect to the URL with the /wiki part so that for example [1] becomes [2].


Doug likes the idea but is concerned about potential SEO implications. I think that if we do it with 301 redirects it will be fine for SEO, but I might be wrong (?).

Denis, is it possible? I think it could be done with a few rules in the .htaccess, perhaps without even having to explicitly list all the top level categories (i.e. test if the path starts with /wiki and if not, add it).

Everyone else, do you think it's a good idea?





[1]: http://docs.webplatform.org/svg/elements/mask 

[2]: http://docs.webplatform.org/wiki/svg/elements/mask ?


Lea Verou

W3C developer relations

http://w3.org/people/all#leahttp://lea.verou.me ✿ @leaverou







Received on Tuesday, 19 March 2013 18:25:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:13:42 UTC