Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Steve M

    (@wpsmort)

    @timherinckx That is not the case with All in One SEO. By default we append page followed by the page number to the canonical URL on paginated pages like this:

    https://mydomain.com/product-category/video-xml-sitemap/page/2/

    THere’s a setting where you can disable this here – https://semperplugins.com/documentation/general-settings/#no-pagination-for-canonical-urls

    Thread Starter Timmmy

    (@timherinckx)

    @wpsmort : Thank you for the reply!

    That kind of pagination indeed works correctly.
    However woocommerce embedding shortcodes paginate differenlty https://host/specific-category/?product-page=2. Using /page/2 is not picked up by woocommerce.

    Is there a way to change how paginated url’s are constructed?

    Disabling pagination does not solve the issue because search engines are not picking up products on other pages (or at least not very well).

    Plugin Support Steve M

    (@wpsmort)

    What WooCommerce shortcode are you referring to?

    Can you provide me with the exact steps to reproduce this on a clean install of WordPress with the default theme and only WooCommerce and All in One SEO installed?

    Thread Starter Timmmy

    (@timherinckx)

    Shortcode: [products category=1 paginate=true limit=2], with 1 the category ID, 2 the numbers of products per page (as an example)

    To reproduce on a clean install:
    – Install woocommerce and all-in-one SEO
    – Add a category in woocommerce
    – Add a few products to this category
    – Create a new page “test”, add the shortcode, of course with limit and category set so it will paginate. The shortcode will add navigation buttons for the pagination.
    – Make sure xml sitemap is enabled in AIOSEO, Caniconal Url’s is checked, Don’t pagina canonical urls should not be check (wording might be a bit off here, since my install is not in English)
    – Using the buttons on the “test” page will show that it is using ?product-page=x to indicate pagination. Try manualy paginating using /page/2 and you will see that it is still showing the content of the first page.
    – Check both these urls in html source code, they all have the first page as canonical url.
    – Have Google crawl the site through the search console. Check back later. Products on the second page will not be indexed, since /page/2 does show these products.

    I’m now trying to solve this with url directs, but that does not scale…

    Plugin Support Steve M

    (@wpsmort)

    @timherinckx We’re not able to do anything about this. I checked without All in One installed and WordPress can’t output the correct canonical here. I also checked with another SEO plugin and it has the same issue.

    Thread Starter Timmmy

    (@timherinckx)

    @wpsmort: Thank you for analyzing! My first guess was also that it was an issue in Woocommerce, but at that forum they saw it as an SEO plugin issue.

    I’ll post this feedback at the woocommerce forum and discuss further there.

    Thanks a lot for the support!!

    (For others following this topic: thread on the woocommerce forum: https://www.ads-software.com/support/topic/woocommerce-products-shortcode-pagination-and-seo/)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pagination support – woocommerce shortcodes’ is closed to new replies.