[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
Wed Mar 22 23:19:25 CET 2023


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

--- Comment #1 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 148575
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148575&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)

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


More information about the Koha-bugs mailing list