Skip site navigation (1) Skip section navigation (2)

Re: Adding links to alternate versions of doc pages

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Steve Atkins <steve(at)blighty(dot)com>
Cc: Pg Docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Adding links to alternate versions of doc pages
Date: 2012-03-30 13:47:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
On Thu, Mar 29, 2012 at 12:58, Steve Atkins <steve(at)blighty(dot)com> wrote:
> On Mar 29, 2012, at 10:07 AM, Peter Eisentraut wrote:
>> A related problem: At least a search on Google will usually find the
>> documentation of some old version.  A search on Bing, however, doesn't
>> find the documentation at all.  That indicates to me that there is
>> something seriously wrong in how the web site is constructed.

What we were told earlier was "just add a sitemap with relative
weights and that should fix it". Well, we now have a sitemap with
relative weights, and it has made pretty much no effect at all (but a
fair amount of work was unfortunately spent in building it :S)

We can use it to *remove* the older versions so it only hits on
current, but that's not really what we want.

> rel="canonical" is one way to tell search engines to look at one
> particular page as the canonical version.

We could make that for the root docs link, but is it generally smart
enough to realize that any sublinks in those docs are *also* the
canonical versions? I doubt it, but I don't know enough about

> Having all the specific-version pages use that to point to the
> non-version URL might help.

Ah, you mean basically a link on every page going back to /current/?

That does bring back the whole problem of filenames/URLs being
different between different versions of course..

> The existing priority stuff in the sitemap should help with this,
> but it doesn't seem to.


> I'm assuming someone has checked the google webmaster
> tools reports for the site, to see if there's anything interesting
> there.

I have, and not found anything interesting. But I'm happy to admit I
don't really know what I'd be looking for :-)

 Magnus Hagander

In response to


pgsql-docs by date

Next:From: Michael NolanDate: 2012-03-30 16:26:11
Subject: Is someone actively working on the binary replication tutorial wiki page?
Previous:From: Dave PageDate: 2012-03-30 07:58:36
Subject: Re: Adding links to alternate versions of doc pages

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group