YizhePKU That’s technically a different issue.
In the OP you found Kagi was sometimes treating longer versions of the same URL as a different page. In your latest post, URL 2 redirects to URL 1. It’s not surprising the previous fix didn’t also work in this case.