[thelist] Separate landing pages -- and custom "home" links.

Matt Warden mwarden at gmail.com
Fri Nov 5 13:51:46 CDT 2010

On Fri, Nov 5, 2010 at 12:51 PM, Bill Moseley <moseley at hank.org> wrote:
> A few options I can think of:
> 1) set a cookie to remember the user type (set when visiting student.html,
> admin.html, teacher.html) and then:
>   a) rewrite every "home" link when rendering the page to point to their
> custom home page, or
>   b) do a redirect to their custom home page if /home.html is requested and
> a cookie is set.
> 2) Use a URL prefix like /student/index.hml and a rewrite rule so that
> /student/about.html, /teacher/about.html, and just /about.html all point to
> the same page.
> 3) Use a query parameter, but would have to make sure all links on every
> page included the query parameter.

I would use a cookie. If cookies are turned off, it isn't the end of
the world. Yahoo uses this method with their homepage (obviously much
more sophisticated). Based on what they know about you (whether you
are logged in or not), you see wildly different content.

Matt Warden
Austin, TX, USA

This email proudly and graciously contributes to entropy.

More information about the thelist mailing list