Viewing 5 replies - 1 through 5 (of 5 total)
  • I get “Error establishing a database connection” when trying to access your page.

    My assumption for the FB issue is that you have some other plugin that appends OpenGraph tags to your page with the post permalink and Facebook picks those up.

    Thread Starter bucklea

    (@bucklea)

    Hi Synved

    Thank you for the response, and the plugin!

    My page is working now if you have time to take a look. Sorry about that, I just needed to reboot for some reason.

    I’ll look into the plugins. Any likely suspects or are we talking needle in a haystack?!

    Andy

    By the looks of it it’s Yoast SEO:

    <!-- This site is optimized with the Yoast WordPress SEO plugin v1.7.1 - https://yoast.com/wordpress/plugins/seo/ -->
    <link rel="canonical" href="https://www.theresearchlibrary.com/?attachment_id=109" />
    <meta property="og:locale" content="en_GB" />
    <meta property="og:type" content="article" />
    <meta property="og:title" content="PDF-4 - theresearchlibrary.com" />
    <meta property="og:description" content="PDF-4 PDF 4 Description" />
    <meta property="og:url" content="https://www.theresearchlibrary.com/?attachment_id=109" />
    <meta property="og:site_name" content="theresearchlibrary.com" />
    <meta property="og:image" content="https://www.theresearchlibrary.com/publications/2014/11/PDF-4-pdf-image.jpg" />
    <!-- / Yoast WordPress SEO plugin. -->

    Thread Starter bucklea

    (@bucklea)

    Thanks very much for that Synved, I’ll see if I can sort it. Cheers!

    Thread Starter bucklea

    (@bucklea)

    Ok, all sorted now, I just had to set the canonical URL to the page URL as Facebook was using the permalink by default.

    For anyone reading this and experiencing problems with Facebook sharing buttons, the following link is invaluable to see what information Facebook is using when it scrapes your page:

    https://developers.facebook.com/tools/debug

    Andy

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Facebook sharing only uses post permalink’ is closed to new replies.