In category page, I need to show link tags that holds pagination's previous and next links like below:
<link rel="prev" href="http://www.test.com/prod1.html?p=1" /> <link rel="next" href="http://www.test.com/prod1.html?p=3" />
Did some research but no success yet.
I have used head as reference in layout but the problem is, page head content gets loaded before category product collection is loaded because if which total number of products cannot be found.
Thank you in advance!