#71: WebSearch: new option to include title words in the record URLs
-------------------------+--------------------------------------------------
Reporter: simko | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: WebSearch | Version:
Keywords: |
-------------------------+--------------------------------------------------
It may help moderately with search engine rankings if detailed record
pages contain important words (from title). That is, when we set up
nicely not only the page title and the meta header section as we
already do, but also put the title into the URL as well.
To achieve this, we can introduce a new config variable named like
CFG_WEBSTYLE_DETAILED_RECORD_LINKS that would have values like:
* 0 (=normal style):
{{{http://site.com/record/32}}}
{{{http://site.com/record/32/holdings/}}}
* 1 (=embed titles in URLs):
{{{http://site.com/record/32-basic-nuclear-electronics}}}
{{{http://site.com/record/32-basic-nuclear-electronics/holdings/}}}
Here, for simplicity, the URL dispatcher can still use only the record
ID as significant when deciding about the dispatch, so it could ignore
any text coming after the record ID and a dash. Or else it could use
that text in order to fuzzy-check the title. The latter bit may be
interesting for lets-provide-meaningful-URLs use case discussed
elsewhere. (e.g. DOI instead of recID)
--
Ticket URL: <http://invenio-software.org/ticket/71>
Invenio <http://invenio-software.org>