Product category in the Title

#589472
  • Resolved Anonymous
    Rank Math free

    Hello

    I use Woocommerce and I want to add the Product Category of each product inside the Title of each product page, unfortunately it doesn’t work.

    I tried different options:

    %title% %sep% %term% %sitename%
    doesn’t work, %term% stays empty

    %title% %sep% %category% %sitename%
    doesn’t work, %category% stays empty

    The variable that should be the category is always empty

    I also tried to select the category in my product page as the “main category” with the math rank radio button option, the math rank variable stays empty

    Please how to show in my Product page title the category of the product?

    Thank you

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    To include the primary category of the product, please use this variable in the title field:

    %customterm(product_cat)%

    Once done, save the product and check the source code if it’s already showing.

    Hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Product category in the Title’ is closed to new replies.