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

AW: URL aliases for WPD without /wiki

From: David Kirstein <frozenice@frozenice.de>
Date: Tue, 19 Mar 2013 16:59:05 +0100
To: "'Lea Verou'" <lea@w3.org>, <public-webplatform@w3.org>
Message-ID: <01db01ce24ba$af4402b0$0dcc0810$@frozenice.de>
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 15:59:31 UTC

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