• Resolved Mark Wilkinson

    (@wpmarkuk)


    Hi there,

    I have created a custom endpoint for my site, lets say it is called /my-endpoint/ and when a user visits this URL this serves a template from my plugin. In the template it pulls in some settings set in the theme options page and displays these on the page.

    When the user shares this page on Facebook, the Title and Description of the page is being shown from the main blog page. I assume this is because the Open Graph data is incorrect for the page and that because the custom endpoint is not a post, post type archive, or other type of standard page, WordPress SEO doesn’t know which Open Graph data to use and therefore uses the standard index.php data.

    Is there a way I can filter the OG data output for a custom endpoint please?

    Many thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Endpoints Open Graph Tags’ is closed to new replies.