[p2pu-dev] rewrite url for courses whose name has changed

Philipp Schmidt phi.schmidt at gmail.com
Wed Mar 30 06:27:12 UTC 2011


Could we remove "course" from the URL and use "group" instead. It is
more ambiguous and let's us go into different directions in the
future. Course has a very specific meaning.

P

On 29 March 2011 12:17, John Britton <public at johndbritton.com> wrote:
> I agree with stian on this one, urls should be based on an ID with the
> course name stringified after
> http://example.com/course/1234/{WILDCARD FOR SEO}
> If the course name changes, the wildcard will change but all links (old and
> new) will always work thanks to the ID. Scribd and a bunch of other sites do
> it this way.
> --
> contact info:
> http://www.johndbritton.com
> @johndbritton - http://twitter.com/johndbritton
>
>
> On Mon, Mar 21, 2011 at 11:51 AM, zuzel.vp <zuzel.vp at gmail.com> wrote:
>>
>> Right now after the course is created the url does not change. --
>> Added a ticket for this:
>>
>> http://p2pu.lighthouseapp.com/projects/71002-lernanta/tickets/42-rewrite-url-for-courses-whose-name-has-changed
>>
>> --
>> Thanks,
>>    Zuzel
>>
>> On Sat, Mar 19, 2011 at 2:06 PM, Stian Håklev <shaklev at gmail.com> wrote:
>> > I think the new way (committed to source, but not to the running version
>> > yet) is a URL with a unique ID and a long name, lke
>> > new.p2pu.org/en-US/34034/mathematics-on-computers. That way we can
>> > change
>> > the name easily, without breaking URLs, and we won't have a problem with
>> > name collisions when we run courses again and again, etc.
>> > Stian
>> >
>> > On Sat, Mar 19, 2011 at 13:00, Joe Corneli <holtzermann17 at gmail.com>
>> > wrote:
>> >>
>> >> http://new.p2pu.org/en-US/courses/joes-life/
>> >>
>> >> should presumably be
>> >>
>> >> http://new.p2pu.org/en-US/courses/mathematics-on-computers/
>> >> _______________________________________________
>> >> p2pu-dev mailing list
>> >> p2pu-dev at lists.p2pu.org
>> >> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>> >
>> >
>> >
>> > --
>> > http://reganmian.net/blog -- Random Stuff that Matters
>> >
>> >
>> > _______________________________________________
>> > p2pu-dev mailing list
>> > p2pu-dev at lists.p2pu.org
>> > http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>> >
>> >
>> _______________________________________________
>> p2pu-dev mailing list
>> p2pu-dev at lists.p2pu.org
>> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
>
> _______________________________________________
> p2pu-dev mailing list
> p2pu-dev at lists.p2pu.org
> http://lists.p2pu.org/mailman/listinfo/p2pu-dev
>
>


More information about the p2pu-dev mailing list