Re: Get rid of /static/ in doc urls?

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-www(at)postgresql(dot)org
Subject: Re: Get rid of /static/ in doc urls?
Date: 2018-10-20 00:32:29
Message-ID: 20181020003229.GW4184@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Greetings,

* Jonathan S. Katz (jkatz(at)postgresql(dot)org) wrote:
> On 10/19/18 6:26 PM, Andres Freund wrote:
> > For reasons I can't quite understand the /static/ in the docs URL bugs
> > me, now that we don't have /interactive/ anymore. Could we just shorten
> > that out of the URL? The redirects shouldn't be problematic...
>
> Yeah, that makes a lot of sense.

I tend to agree.

> > I think as long as we issue the right redirects, search engines
> > shouldn't be troubled by this, but my knowledge about this kind of stuff
> > is severely outdated.
>
> We would need permanent redirects, but those are not hard to set up,
> especially in Django (or at the webserver level if we wanted to be super
> efficient).

Sure, could be done either way.

> AFAIK this should be fairly trivial (and a good idea to do) so I'd +1
> the change. I think, again, it's a matter if we want to apply it at the
> Django or webserver level.

The one thing I wonder about is- didn't someone say at one point that
shorter urls are preferred by search engines, and if we made the
'current' doc link shorter than the per-version doc links that it'd be
much more likely to show up higher in search results (which we would
generally prefer)..?

Presuming that is the case, maybe we get rid of /static/ but add
something in for the per-version urls to make them longer than
'current'?

Or, if that's all wrong, that's fine too. :)

Thanks!

Stephen

In response to

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Tatsuo Ishii 2018-10-20 01:07:02 Re: Code of Conduct plan,Re: Code of Conduct plan
Previous Message Jonathan S. Katz 2018-10-19 22:30:49 Re: Get rid of /static/ in doc urls?