Issue with default product schema – meta title is substituting as product name

#501077
  • Resolved muhammad ali
    Rank Math free

    rank math default product schema selects meta title as product name and meta description as schema product description

    have a look at this link

    DSP KA3066 Coffee machine

    I am seeing “DSP KA3066 Coffee machine Price in Pakistan [year]” as the product name, but it should be “DSP KA3066 Coffee machine”

    additionally, why isn’t [year] being processed as 2022? it happens in few places

    you can verify it schema validator

Viewing 1 replies (of 1 total)
  • Hello,

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

    This is taking the title from the same data you have for the title of the page but the shortcode cannot be parsed inside the Schema markup which causes this issue.

    ​​​​​​​You would need to probably create a custom variable by editing this filter to get the current year dynamically in a way that would be Schema compliant: https://rankmath.com/kb/filters-hooks-api-developer/#add-extra-variables

    Also, please note that since you are using the PRO version on the website, the support for PRO features doesn’t extend to people using a PRO license from another user.

    Don’t hesitate to get in touch if you have any other questions.

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

The ticket ‘Issue with default product schema – meta title is substituting as product name’ is closed to new replies.