[Support request] Pagination's navigation

Home Forums Support [Support request] Pagination's navigation

Home Forums Support Pagination's navigation

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1012711
    ustar

    Hi, there!

    To avoid duplicated content pages i use a custom code in the woocommerce/loop/pagination.php
    The code change all URLs like category/page/1/ to categoty/
    At the same time all other pages like category/page/2/, category/page/3/ etc. works.
    So, almost everything works fine beside of next page and prev page buttons.
    Those buttons looks like up and down angle brackets.
    Could you please help me to find the cause?

    Best regards, Sergey.

    #1013087
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    I’m not sure I understand – can you explain a bit more?

    #1013347
    ustar

    Hi, Tom!

    If you are on a page that has pagination (for example, https://dev.u-star.cz/boty/damske/), then when you click on the “2” button (in the buttom of the page), you will be taken to the page https://dev.u-star.cz/boty/damske/page/2/.
    If after that click on the button “1”, then you will be taken back, but only the link will be already https://dev.u-star.cz/boty/damske/page/1/.

    Thus, for Google it is a duplicate of content.
    To avoid this, after clicking on the “1” button, the link should be https://dev.u-star.cz/boty/damske/.

    For this, I use custom code in the template theme/generatepress-child/woocommerce/loop/pagination.php

    The code does its job, but at the same time, the appearance of the buttons of pagination “forward” and “back” changes (these are class=”icon-angle-left” and class=”icon-angle-right”).

    They do not look like arrows “left” and “right”, but both look like arrows “down”.
    Here is a screenshot and my pagination.php the file: https://dropmefiles.com/Z0zqa

    #1013853
    Tom
    Lead Developer
    Lead Developer

    Are you sure it’s necessary? I believe only WooCommerce does this (/page/1), but if you actually click on it, it redirects back to the first page without that in the URL: https://gpsites.co/merch/shop/page/2/

    I assume this means there’s a 301 redirect going on, which would prevent any duplicate content issues.

    #1013868
    ustar

    Hi, Tom!

    My question is not about redirection.
    The main question is how the forward and backward pagination buttons look like. They currently look like down and down.
    In the screenshot I sent you this is clearly visible.
    If not, i’ll sent another image.

    Regards, Sergey.

    #1014078
    Tom
    Lead Developer
    Lead Developer

    Is there somewhere I can see them live? Your site has a 403 forbidden error for me right now.

    #1014178
    ustar

    hi, Tom!

    To access to my dev site i need your IP.
    This site is develiping now and closed for robots, because it is a copy of the live site. I can give an access for example for all ip in any subnet. Or create a TeamViewer session in time when you will be able to look. My time zone is CEST (Central European Summer Time) UTC/GMT +2 hours, but is not a problem, i will be onliene anytime you’ll say.

    Regards, Sergey.

    #1014674
    Tom
    Lead Developer
    Lead Developer

    Is it possible to set it up on a temporary staging site behind a coming soon page? That way you can provide temporary login details and I can log in to take a look.

    If not, shoot us an email and I’ll give you the IP: https://generatepress.com/contact

    #1014687
    ustar

    Hi, Tom!

    I made a request through the contact form.

    #1016012
    Tom
    Lead Developer
    Lead Developer

    You’re using this HTML:

    <i class="icon-angle-right"></i>

    However, there’s no right angle icon set to that element. It has a background image set as an SVG, but that’s the arrow pointing down.

    You need to use CSS to specify the down angle image as the background to that specific class.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.