Slugifying news and events urls - Mailing list pgsql-www

From Magnus Hagander
Subject Slugifying news and events urls
Date
Msg-id CABUevEzn2nF7fL=tdjQX8j9bkFb=5MjPY8oz3WxfXXa4bpBiVw@mail.gmail.com
Whole thread Raw
List pgsql-www
PFA two patches that do this.

AFAIK that gives for better SEO as well, but in general it just makes things look nicer :)

We already had support for the <id>-<slug>/ format URLs, but we never generated them. But for things to look nicer, this patch instead uses <slug>-<id>/.

Old URLs still work, and if the title (and thus slug) is changed it will redirect to the new location, to maximize future caching for it.

For news, it adds the slugified url to the admin list, primarily to make it easier for the person who's doing a "web release" to be able to copy/paste the actual complete URL instead of having to rely on trying to figure out what slugify does.

Thoughts? And for those who actually know Web Stuff (TM), is it correct that this should also help with SEO stuff?

--
Attachment

pgsql-www by date:

Previous
From: Dave Page
Date:
Subject: Re: Retiring legacyurls
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: Retiring legacyurls