Closed iantocristian closed 9 years ago
To make this harder the existing URL's would need to redirect to the new URL.
Eugene McDonough COO, Community & Events @ C http://hwf.io/oderDojo Foundation | CoderDojo Limerick http://coderdojomidwest.com/ Co-Founder T: @eugenemcd http://twitter.com/eugenemcd @CoderDojoLim http://twitter.com/CoderDojoLim @CoderDojo http://coderdojo.com/ Skype: eugenemcdonough G+: eugenemcd m: +353(0)87 653 7694
On 3 April 2015 at 16:03, Cristian I. notifications@github.com wrote:
Remove id from dojo url, add slug
— Reply to this email directly or view it on GitHub https://github.com/CoderDojo/cp-zen-platform/issues/22.
See below for some cool opportunities for your Dojo!
Hello World Foundation operating as CoderDojo Foundation is a company limited by guarantee not having a share capital with charitable status, CHY
Proposed url format for dojos:
dojos/{country-2-digit-code}/{state/province/region/county}/{slug}
Slug would be auto-generated from the city, dojo name and street address initially, then user modifiable (must be unique within the primary administrative unit for the country though)
dojos/ie/waterford/tramore dojos/ie/waterford/lismore-chapel-place-svp-hall dojos/us/texas/austin-oak-hill-hampton
Redirecting the existing URLs should be easy enough. We'll also need a script to generate the slugs for the existing/imported dojos.
The format above looks perfect, I don't think we will need anymore levels :-)
Just realised yesterday that for Tramore we would actually have
dojos/ie/munster/tramore
and there are actually two Tramores in the Munster region :(
From what I can see we may need three levels for some countries:
dojos/ie/munster/waterford/tramore
What do you think?
dojos/ie/{province}/{county}/{town/area} makes sense to me alright!
Intention is for the last part of the url to be the {slug} rather than {town/area}. A combination of town and/or dojo name (user changeable). A lot of the existing dojos just have the town name as the dojo name, so if we do
dojos/{country}/{province}/{county}/{town}/{dojo-name}
we may end up with:
dojos/ie/munster/waterford/waterford/waterford
I guess in which case we'll miss out on an extra bit of SEO for dojos that decide to go dojos/ie/munster/waterford/schoolname (e.g. a school that is in Tralee but didn't include Tralee in the dojo name so then they don't get Tralee in the URL at all).
But I think having a custom slug will help with that anyway - most people will hopefully be smart enough to at least add "Tralee" as a custom part of the slug?
It is a balance on SEO and being able to tell people the URL :-)
Eugene McDonough COO, Community & Events @ C http://hwf.io/oderDojo Foundation | CoderDojo Limerick http://coderdojomidwest.com/ Co-Founder T: @eugenemcd http://twitter.com/eugenemcd @CoderDojoLim http://twitter.com/CoderDojoLim @CoderDojo http://coderdojo.com/ Skype: eugenemcdonough G+: eugenemcd m: +353(0)87 653 7694
On 10 April 2015 at 12:03, Ursula Clarke Everett notifications@github.com wrote:
I guess in which case we'll miss out on an extra bit of SEO for dojos that decdie to go dojos/ie/munster/waterford/schoolname (e.g. a school that is in Tralee but didn't include Tralee in the dojo name so then they don't get Tralee in the URL at all).
But I think having a custom slug will help with that anyway - most people will hopefully be smart enough to at least add "Tralee" as a custom part of the slug?
— Reply to this email directly or view it on GitHub https://github.com/CoderDojo/cp-zen-platform/issues/22#issuecomment-91518192 .
See below for some cool opportunities for your Dojo!
Hello World Foundation operating as CoderDojo Foundation is a company limited by guarantee not having a share capital with charitable status, CHY
I was thinking about making the town a fixed part of the slug, but it will complicate things given that we have to generate slugs for the existing dojos using their current names and it's hard to tell if the name already has the town somewhere in it or not.
Yep, so let's go with having the custom slug again and we'll see how it goes! :)
Remove id from dojo URL, add slug