WordPress.org

Forums

Yoast SEO
[resolved] Category variable issue on Title or Meta description (in WooCommerce) (3 posts)

  1. anotherbreed
    Member
    Posted 1 year ago #

    Any ideas on why the %%category%% variable don't work in Title or Meta description for Product (WooCommerce) post types?

    Example:
    %%title%% is in %%category%% page.

    Will give this result:
    Post name is in page.

    Instead of this result:
    Post name is in post category page.

    https://wordpress.org/plugins/wordpress-seo/

  2. anotherbreed
    Member
    Posted 1 year ago #

    Ok, looks like I was using the wrong variable.

    Here's the correct one %%ct_product_cat%%, I forgot WooCommerce does use custom taxonomies.

  3. Watch Teller
    Member
    Posted 1 year ago #

    Look like stop working again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic