Latest News: (loading..)
bonbec

Indicate paginated content

5 posts in this topic

Hello,

 

I have just read this page of Google support regarding the use of rel = "prev" and rel = "next" tags.
Is it a good idea to add it to the pagination code?

 

https://support.google.com/webmasters/answer/1663744?hl=en

 

You can change the last 2 characters of the url to have the page in your language :

en = english

fr = french

es = spanish

de = deutch

...

Share this post


Link to post
Share on other sites

@@bonbec

 

From that page, I am pretty sure we did this:

 

 


  • Specify a View All page. Searchers commonly prefer to view a whole article or category on a single page. Therefore, if we think this is what the searcher is looking for, we try to show the View All page in search results. You can also add a rel="canonical" link to the component pages to tell Google that the View All version is the version you want to appear in search results.

 

See;

 

https://github.com/gburton/Responsive-osCommerce/blob/764ed09cf3f0a116d4a1d974d5dd54f223616405/includes/modules/header_tags/ht_canonical.php#L38

https://github.com/gburton/Responsive-osCommerce/blob/764ed09cf3f0a116d4a1d974d5dd54f223616405/includes/modules/header_tags/ht_canonical.php#L40

https://github.com/gburton/Responsive-osCommerce/blob/d6d7a7ee141d8525283ae372bfe2edcad7aeb9d9/includes/modules/product_listing.php#L13

Share this post


Link to post
Share on other sites

Posted (edited)

@burt

 

Yes I see the rel="canonical", I install the module in my local 234BS Edge version.

But my question is about the HTML attributes rel="next" and rel="prev" to indicate the relationship between individual URLs.

 

If I understood correctly, but I can be mistaken, it is to indicate that page 2 is the logical continuation of page 1, etc ....

As the example indicated on the page of the support Google. The objective is not the same as for the rel="canonical".

 

Since my first post, I have seen that raiwa has created a module for rel="prev" rel="next". So I think this is a good complement to the rel="canonical".

Edited by bonbec

Share this post


Link to post
Share on other sites

It would defintely be super-cool to revisit this as the "prev/next" would be superior to the "all".  

Maybe a coder would code it and give it back to the Community.

frankl likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now