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

--- Comment #1 from Magnus Enger <[email protected]> ---
Created attachment 113588
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113588&action=edit
Bug 27009 - Use 301 to redirect from tracklinks.pl

The default for the tracklinks.pl redirect is "302 Moved Temporarily".
It makes more sense to use "301 Moved Permanently".

To test:
1. Set TrackClicks = Track
2. Make sure you have a MARC record with an external link in 856$u
3. In the OPAC, click on the link and use e.g. Developer tools to
   check on the HTTP status code sent by tracklinks.pl. It will
   be 302.
4. Apply this patch and restart all the things
5. Click on the external link in the OPAC again. The status code
   should now be 301.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to