Strip Product Category Not Working

#127250
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    We can do a few things to solve this issue.

    1. Make sure you updated your Rank Math plugin. The latest version of Rank Math Free is v1.0.55

    2. It is possible that your .htaccess file is not writeable and/or it gets reverted back due to some cron job on your website. Please contact your web hosting provider and inform your issue about this. Let us know how it goes.

    3. If you are using NGINX server, you need to set this code in the NGINX configuration file:

    # START Nginx Rewrites for Rank Math Sitemaps
    rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
    rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
    # END Nginx Rewrites for Rank Math Sitemaps

    Let me know if you have solved your issue doing this steps. We are here to help you.

    Thank you

    I should have been more specific. It is only with the Rank Math breadcrumbs that I have the new problem. The site map looks good. It is adding in product-category instead of shop: https://xxxxx.com/product-category/energy-bracelets-stretch/

    Should be: https://xxxxx.com/shop/healing-energy-bracelets-stretch/

    The display of the breadcrumb is correct, just the category link.

    Thank you.

    Hello,

    Is this happening to all your product categories?

    Could you please share some of the URLs in the sensitive section so we can look into this from our end too?

    Looking forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for keeping in touch with us.

    I checked all your categories and it seems it displays the correct link based on your Permalink settings.

    If you need to match your category link to your breadcrumbs you might need to change your Permalink settings in WordPress. Please this video screencast: https://i.rankmath.com/RuWChT

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.