[p2pu-dev] dns change, keeping links sane

Philipp Schmidt phi.schmidt at gmail.com
Tue Jun 7 09:13:22 UTC 2011


On 7 June 2011 00:25, Stian Håklev <shaklev at gmail.com> wrote:
> I don't think a wildcard redirect would work, since the URL Structure in the
> old site and the new site will be quite different.

The idea is to "forward" (rather than redirect) to the same URL, but
at a different domain. A request to www.p2pu.org/old-url would go to
archive.p2pu.org/old-url - the special URLs, like webcraft, that we
match to new destinations would be handled differently.

P

> Stian
>
> On Tue, Jun 7, 2011 at 01:25, John Britton <public at johndbritton.com> wrote:
>>
>> I really like the 404 page solution, although we should also add in
>> redirects for any important pages that have changed. Courses that were not
>> imported can be handled by the 404 page with a link.
>> Pages like /webcraft should not change url
>> --
>> contact info:
>> http://www.johndbritton.com
>> @johndbritton - http://twitter.com/johndbritton
>>
>>
>> On Mon, Jun 6, 2011 at 10:47 AM, zuzel.vp <zuzel.vp at gmail.com> wrote:
>>>
>>> Today we were talking also about:
>>>
>>> * Static redirects for important pages like school pages so if they
>>> access http://p2pu.org/webcraft they go to the p2pu.org webcraft
>>> school page on the new site (please list any any important pages you
>>> know of. i will try to check google analytics for data about this). --
>>> using http://docs.djangoproject.com/en/1.3/ref/contrib/redirects/
>>> * Dynamic redirects to the same url but in archive.p2pu.org if the
>>> page exists on the old site.
>>>
>>> --
>>> Thanks,
>>>    Zuzel
>>>
>>>
>>> On Mon, Jun 6, 2011 at 10:13 AM, Jessica Ledbetter
>>> <jessica at jessicaledbetter.com> wrote:
>>> > Can probably with .htaccess or urls.py
>>> > Maybe toss a little 301 in there for search engine notifications?
>>> > We can also update the 404 with a list of popular destinations based on
>>> > what
>>> > Stian said.
>>> > On Mon, Jun 6, 2011 at 8:49 AM, Philipp Schmidt <philipp at p2pu.org>
>>> > wrote:
>>> >>
>>> >> On 6 June 2011 09:44, Stian Håklev <shaklev at gmail.com> wrote:
>>> >> > We would have to manually map all the old course URLs to the new
>>> >> > course
>>> >> > URLs. We should also have a look at our stats to see if there are
>>> >> > any
>>> >> > specific pages, below the course start page, which receives a lot of
>>> >> > direct
>>> >> > hits, and create special redirects for them. I think trying to cover
>>> >> > every
>>> >> > single detail page would be very difficult.
>>> >>
>>> >> what about a wildcard redirect? is something like this possible?
>>> >>
>>> >> www.p2pu.org/old-URL
>>> >>
>>> >> if old-URL doesn't exist on the current p2pu.org (the new site), then
>>> >> replace www. with old. and forward to the original page on the old
>>> >> site
>>> >>
>>> >> we place a prominent overlay on old pages, which tell users that there
>>> >> is a new site, and that they can easily import this course into the
>>> >> new site if they want (good suggestion jessy!)
>>> >>
>>> >> this wouldn't require manual mapping.
>>> >>
>>> >> - P
>>> >>
>>> >> > Stian
>>> >> >
>>> >> > On Mon, Jun 6, 2011 at 14:43, Philipp Schmidt <philipp at p2pu.org>
>>> >> > wrote:
>>> >> >>
>>> >> >> Question: when we switch the DNS record for p2pu.org to point to
>>> >> >> our
>>> >> >> new
>>> >> >> site, is there a way to gracefully redirect *all* existing URL's on
>>> >> >> the
>>> >> >> current site? a significant share of our traffic goes to specific
>>> >> >> URLs
>>> >> >> on
>>> >> >> the current site, including from google, and i would hate to just
>>> >> >> redirect
>>> >> >> them all to an error page.
>>> >> >> what's the best way of handling this?
>>> >> >> - P
>>> >> >>
>>> >> >>
>>> >> >> _______________________________________________
>>> >> >> 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
>>> >
>>> >
>>> >
>>> > --
>>> > Jessica Ledbetter
>>> > http://jessicaledbetter.com
>>> >
>>> >
>>> > _______________________________________________
>>> > 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
>>
>
>
>
> --
> 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
>
>


More information about the p2pu-dev mailing list