LP#1507845: Improve search engine optimization user/dbs/lp1507845_seo_tweaks
authorDan Scott <dscott@laurentian.ca>
Tue, 20 Oct 2015 02:21:58 +0000 (22:21 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 20 Oct 2015 02:27:27 +0000 (22:27 -0400)
commit06836e8ac5a2f0810a8ff73fef5a80950128b422
tree2a9de7e9da7081fd295275fe2e4e2e7a9274e1c9
parent08f8938c4e32855ee0e25f34e11fc140a40d5c38
LP#1507845: Improve search engine optimization

Back in bug # 1414033 , we added rel="nofollow" attributes to many of the links
that led to search results or call number browsing. This was the right idea,
but a bit overzealous as it turns out. We actually want search engines to
follow those links; we just don't want search engines to index them.

Therefore, we can tweak the <meta> tag in the results and browse page headers
to say "follow,noindex", and remove many of the inline rel="nofollow"
attributes from the other pages.

In addition, add a rel="canonical" link to the catalogue home page.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
14 files changed:
Open-ILS/src/templates/opac/advanced.tt2
Open-ILS/src/templates/opac/browse.tt2
Open-ILS/src/templates/opac/cnbrowse.tt2
Open-ILS/src/templates/opac/home.tt2
Open-ILS/src/templates/opac/mylist.tt2
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/record/authors.tt2
Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
Open-ILS/src/templates/opac/parts/record/navigation.tt2
Open-ILS/src/templates/opac/parts/record/series.tt2
Open-ILS/src/templates/opac/parts/record/subjects.tt2
Open-ILS/src/templates/opac/parts/result/paginate.tt2
Open-ILS/src/templates/opac/parts/searchbar.tt2
Open-ILS/src/templates/opac/results.tt2