Meta title – add category

#334964
  • Resolved M_p
    Rank Math free

    Hello,

    I’m trying to customise meta title for products (woocommerce).
    I would like to add the category name of my product but it doesn’t work…

    Product category : ballon
    Product meta title expected : ballon – …

    I tried %parent_title%, %category%, %term%

    Could you please help?

    Thank you!

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

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

    The %category% variable only works for posts. You can make use of the variable %customterm(product_cat)% to reveal the category in your meta title.

    Do note that this might not work on the backend meta preview but this should work on the frontend.

    Let us know how that goes. Looking forward to helping you on this one.

    M_p
    Rank Math free

    Hello,

    Thank you for your quick answer 🙂
    It’s working perfectly!

    Regards,

    Hello,

    We are super happy that we have addressed your concern. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Meta title – add category’ is closed to new replies.