[Issue] Woocommerce & Meta description

#10863
  • Resolved Tom Spaccialbelli
    Rank Math free

    Hello,

    I’m not sure it’s a bug, but I find it counter-intuitive.

    Here is the problem:

    – When I modify the short description of a product (and I have not entered a meta description on the same product), the meta description is automatically the short description, even if I have defined a meta description in the general product settings in RankMath.

    I don’t think the short description should automatically become the meta description, because it is often much longer and less optimized than what we have configured in the RankMath product interface.

    Or at least, I think it would be nice to put an option to choose whether we use the Rankmath product setting or the short description by default.

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I believe that this feature works this way by design, a higher priority is given to the product description and I can see how this would cause an issue when you have already optimized the description.
    I will pass this feedback to our dev team so that this can be considered for future development.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks you for your feedback, keep me update

    Hi Tom,

    Thanks for the follow up.

    We will keep you in the loop 🙂

    Feel free to reach out to us for any other questions, comments or suggestions.

    Thank you.

    Hello,

    As mentioned by my colleague, this is by design, the data entered on the post editing screen takes priority over the settings in “Titles & Meta”. We will consider changing this behaviour.

    In the meantime, you can use the following filter hook to change this:

    /**
     * Allow changing the meta description sentence from within the theme.
     *
     * @param string $description The description sentence.
     */
    add_filter( 'rank_math/frontend/description', function( $description ) {
    	return $description;
    });

    https://rankmath.com/kb/filters-hooks-api-developer/#change-meta-description

    Hope that helps.

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

The ticket ‘[Issue] Woocommerce & Meta description’ is closed to new replies.