Yoast SEO
[Plugin: WordPress SEO by Yoast] Is it possible to disable OpenGraph Meta Tags on a specific page? (1 post)

  1. Andrew Wilder
    Posted 3 years ago #

    I've got a custom page template set up that returns different info in the body of the page, based on a URL query. It's a single WordPress page that pulls recipes from a separate database, based on the number in the query.

    I need to be able to control the Facebook OpenGraph tags separately, since WP SEO can't recognize/utilize the query string.

    As a workaround, I was able to use the API/hooks reference to override the og:title and og:image tags, but I haven't been able to figure out how to override the og:url tag.

    Ideally, it would be better to just switch off the meta data for this particular WordPress page. Is this possible in WP SEO? (I've scoured and searched, but haven't come up with anything).

    Here's the page in question. It's a single wordpress page, but the content will change based on the ID in the query:


    So from WordPress's viewpoint, I just need to disable either the OpenGraph tags, or WordPress SEO entirely, on this particular page:



    - Andrew


Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic