[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
Sat Apr 29 00:26:52 CEST 2023


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

Hammat wele <hammat.wele at inlibro.com> changed:

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

--- Comment #6 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 150420
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150420&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) Run ./installer/data/mysql/updatedatabase.pl
4) Go to system preferences > OPAC and add some directives to OpacMetaRobots
(ex: noindex,nofollow).
5) Look at opac-main source and confirm that meta name=robots now has content
equal to the text set in the OpacMetaRobots system preference.
6) 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