Pagination rel prev next

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 10 ans
Hello,

what is the best way to implement pagination like:

https://support.google.com/webmasters/bin/answer.py?hl=en&answer=1663744&topic=2371375&ctx=topic

I should change the <head> section.

Thanks in advance
Il y a 10 ans
I too would like to add the rel="prev" and rel="next" link elements for pagination.

Unfortunately, this doesn't appear to be supported "out of the box".  

It would be nice if this was added to a future release.  
Need a Feature Request and Votes - https://www.nopcommerce.com/boards/f/7/suggestions-and-feedback.aspx


In the meantime, we would need to modify nopCommerce to add this in.

This is my best guess...

If you have the source, take a look at the following...

Presentation\Nop.Web.Framework\UI\LayoutExtenstions.cs
Presentation\Nop.Web.Framework\UI\IPageHeadBuilder.cs
Presentation\Nop.Web.Framework\UI\PageHeadBuilder.cs

and look at how the the CSS files are included.

AddCssFileParts
AppendCssFileParts
GenerateCssFiles


We would need to create a similar one for the rel="prev" and rel="next" link elements.
Il y a 5 ans
We did plugin for it.
https://www.foxnetsoft.com/nopgooglepaginationtag
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.