Image SEO settings %title% – tegory% not working

#86277
  • Resolved Sean
    Rank Math free

    Hi there,

    For the image SEO I set this %title% – %category%

    But when I view source of a product page I see that the %category% is not being added to the alt and title tags

    alt=”Black Widow -” loading=”lazy” title=”Black Widow -”

    I tried this format also but it also does not work

    %title% %sep% %category%

    How can I get the product category into the alt and title tags for product images?

    Thanks

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

    Thank you for contacting Rank Math today.

    To get the product category, please use : %customterm(product_cat)%. The %category% variable is used to show the default post categories.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Sean
    Rank Math free

    Thanks Michael,

    I will try that

    Hello,

    If you need help with anything else, please open a new support ticket here so we can help:

    https://support.rankmath.com

    We are always here for assistance.

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

The ticket ‘Image SEO settings %title% – tegory% not working’ is closed to new replies.