Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

The weblink.go task redirects to the weblink URL with HTTP 301. Browsers cache permanent redirects, so after the first click the browser jumps straight to the target URL without contacting the site again. Hits are no longer counted for that visitor and changing the URL of a weblink has no effect for them.

The redirect now uses the default status code (303) of CMSApplication::redirect().

Testing Instructions

  • Enable "Count Clicks" in the weblinks options.
  • Open a category list on the frontend and click the same weblink several times (same browser, without clearing the cache).
  • Check the hits of the weblink in the backend.

Expected result

Every click is counted.

Actual result

Only the first click is counted, the browser caches the redirect.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment