[Koha-bugs] [Bug 33317] Add system preference to set meta robots for the OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 23 10:21:21 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33317

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #148575|0                           |1
        is obsolete|                            |

--- Comment #2 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 148593
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148593&action=edit
Bug 33317: Add system preference to set meta robots for the OPAC

Websites must have a robots meta tag to improve search engine crawling, so we
could tell search engines to not index OPAC pages for example.
To test:
1) Look at opac-main source and see that meta name=robots is missing.
2) Apply patch.
3) Go to system preferences > OPAC and add some directives to OpacMetaRobots
(ex: noindex,nofollow).
4) Look at opac-main source and confirm that meta name=robots now has content
equal to the text set in the OpacMetaRobots system preference.
5) This should Prevent search engines from indexing Opac pages (if
OpacMetaRobots is set to noindex)

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list