Yoast SEO
Disabling Open Graph on one page (1 post)

  1. letterafterz
    Posted 3 years ago #

    Hey guys,

    Searched for ages and had no luck.

    I'm trying to disable open graph on a single page where I have some $_GET variables loading different map locations set in PHP.

    Because of the custom nature of the page, I'm generating custom OG tags in the head so people can share the individual locations over facebook.

    I was wondering if there was a filter to disable open graph on just this page (or even better, a way to hook in the specific template file ONLY when one of these custom URLs comes up)



Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic