How to maintain the product category in the slug

#343169
  • Resolved Mike
    Rank Math free

    Hello,
    Can I get Rank Math to give me a slug with the woocommerce category the product belongs to and the product name?
    An example:
    mydomain.com/category-woocommerce/product-name

    I attach video:
    https://recordit.co/xFxBwYNhAy

    Thanks for your help.

    Mike

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Rank Math would not be able to add the category of your products to your product URLs. In this case, you may need to add the /product-category/ on your WordPress dashboard > Settings > Permalinks > Product Permalinks.

    Please refer to the attached screenshot in the sensitive data section on how to achieve it for your product URLs.

    I hope that helps.

    Thank you.

    Mike
    Rank Math free

    Hi Reinelle,
    Thanks for your reply.
    I have followed your instructions but I have not got it…. shows me error 404.
    I would really appreciate if you could help me again to get what I need.
    Thanks,

    Mike.

    Hello,

    I changed the product base in the permalink settings and also enabled the Remove Base option in WP Dashboard > Rank Math > General Settings > WooCommerce and now you can access your products at /product-cat/product/.

    Please check and let us know if you need any other assistance.

    Thanks.

    Mike
    Rank Math free

    Hi Jaideep!!
    You have really been a great help to me.
    Thanks very much for helping me to find out how to make this change in the slug.
    Have a nice day Jaideep.

    Best regards.

    Mike.

    Hello,

    Glad that helped.

    Please feel free to reach out to us again in case you need any other assistance.

    We are here to help.

    Thank you.

    Mike
    Rank Math free

    Ok Jaideep!!
    Thanks 😉

    Hello,

    You are always welcome. Don’t hesitate to get in touch if you have any other questions.

    We are here to help.

    Thank you.

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

The ticket ‘How to maintain the product category in the slug’ is closed to new replies.