We want to modify the <link rel="prev"> element on page 2 of our collection pages.
For example, if the collection URL is /collections/men, then on page 2 the current output is:
<link rel="prev" href="/collections/men?page=1">
We’d like to change it to:
<link rel="prev" href="/collections/men">
We were able to adjust the <a> pagination link (not live yet), but we can’t find where to update the <link> element itself.
Is there any way to modify or override this <link rel="prev"> output?