Crocoblock / suggestions

The suggestions for CrocoBlock project
194 stars 78 forks source link

Make the Pagination Widget work the pagination attributes: link rel="next" and rel="prev" "canonical" #4772

Open simonvanoordt opened 2 years ago

simonvanoordt commented 2 years ago

There is a massive SEO problem with the way pagination works with JetSmartFilters.

The Jetsmartfilter pagination links to dynamic URLS like: example.com/{cpt_name}/?jet-smart-filters=jet-engine/(cpt_name)&jet_paged=2

However, The pagination should link to this URL: example.com/{cpt_name}/page/2/

Why? This is the WordPress default permalink structure, and this is how seo plugins let search engines know that they can crawl more posts on the next/previous page of the archive.

Pagination should work correctly with the pagination attributes: link rel="next" and rel="prev" "canonical".

Proposed solution: Make the pagination widget link to the "static" URL WordPress archive pages, or create the option to make users choose.

[more info in comment below]

simonvanoordt commented 2 years ago

[background info] Problem: Orphan pages One of the websites that I manage, had almost none of there custom posts indexed/ranking. Only the posts that where on the 1st archive page, were indexed. For the other posts, Google search console said there were 0 referring pages (no internal links). This was because the site was using infinite loading (and google bot does not infinite load a page).

The best SEO practice is therefore to use pagination. However, the Jetsmartfilter pagination links to queried pages, instead of linking to the "static" archive pages that wordpress creates.

Your own blog uses correct navigation. That is because the JetBlog post navigation widget (opposed to Jetsmartfilter pagination), links to the wp archive pages as you would expect (crocoblock.com/blog/page/2/, crocoblock.com/blog/page/3/ etc.).

However, I don't use JetBlog, so I don't have access to the post pagination widget.

ChristophIsodeco commented 11 months ago

Hi, I have kind of the same problem. Right now, all products that aren't on the first page are considered orphan pages. That is, because I use Ajax. So the best option would be the 'mixed' one. This option adds a parameter to the url like this: ?jsf=jet-woo-products-grid&pagenum=2

But the pagination itself also needs a link. Because google can not use Ajax, so he does not see that link. One good example would be from amazon.nl:

pagination with links

They have a links on the pagination. But with the pagination from Jet, there is no link. See image below:

image

santiago-f-s commented 11 months ago

@ChristophIsodeco Same problem here!

limacon12 commented 10 months ago

+1

nmitch17 commented 9 months ago

Please fix this. This is a big downfall and hurts indexing listings on page 2+.

DuinDigital commented 2 months ago

Please can you guys review/fix this issue? My client has SEO issues because of this.