Product category title

#458021
  • Resolved Johan Wolf
    Rank Math free

    Hi,

    Is it not possible to use woocommerce product category in title?

    I can not find any solution for it.

    <product name> – <product category> – <site name>

    Thanks.

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

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    Yes, to display product category in the meta title, then please use the following variable:

    %customterm(product_cat)%

    For, product name – product category – sitename, it should be like following:

    %title% %sep% %customterm(product_cat)% %sep% %sitename%

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

    Thank you.

    Okay thanks. Is it possible to get the top root category too?

    Hello,

    To select the top root category, you need to ensure that you have set a primary term. Please head over to your WordPress Dashboard > Rank Math > Titles & Meta > Products and set the “Primary Taxonomy
    ” to “Product Categories”.

    Then, in your product editor, you can then select a primary category you wish to use. See the example in the screenshot below:

    category

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

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘Product category title’ is closed to new replies.