• Resolved tntrush

    (@tntrush)


    IN RankMath->Titles 7 Meta -> Products -> Simgle Product Description, I have added

    %title% %excerpt% <Relevant Text>

    to automatically create a meta description for each post.

    However, this is not happenting when I insert products using the Woocommerce API which is the case in my headless installation.

    On the other hand, there is no way (as I read in the fora) to provide a meta description through the API, therefore if I use RankMath, my posts will have a meta description that includes only the excerpt (which is the default).

    Is there a way to solve this issue?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @tntrush

    Thank you for contacting the support.

    Sorry to disappoint but that feature is unfortunately not available at this time.

    With that being said, there are existing feature requests, so we’ve added your vote to our internal suggestions lists. If your suggestions are something that we’re able to introduce, we’ll be sure to let you know.

    In the meantime, if there’s anything else we can assist you with, please let us know. We are here to help.

    Thread Starter tntrush

    (@tntrush)

    Thank you for your answer.

    Could I possibly override in my functions.php the default which seems to be %excerpt% and make it %title% %excerpt% <Free Text>?

    • This reply was modified 5 years, 9 months ago by tntrush.
    • This reply was modified 5 years, 9 months ago by tntrush.
    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @tntrush

    Not sure which default value you want to overwrite.

    Here are the metadata filters that you can use to change the values on the frontend.
    https://rankmath.com/kb/filters-hooks-api-developer/#metadata

    Hope that helps. Thank you.

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

The topic ‘Automatic meta description not applied when using woocommerce API’ is closed to new replies.