Course page social sharing and seo fix with yoast

Please add the given code in your wplms-customizer.php file in wplms -customizer plugin :

 

Was this article helpful?

7 Comments

  1. AlexD079

    We’ve tried this fix, and SEO tags did appear in all courses pages. However, double and even triple SEO values suddenly appeared in all of the regular pages/articles on our website, where Yoast SEO tags were working perfectly. This caused huge errors with FB debugger: “More Than One OG URL Specified”, “type ‘article’ is invalid because it specifies multiple ‘og:url’ values”, etc. Is there a way to fix that, so that you can have both proper SEO meta-data in courses pages, as well as regular, non-courses website pages, where proper meta-data already existed? Thank you.

    1. Thanks for reporting this, we’ve updated the code. The main issue lies in the fact the Yoast seo does not for buddypress and courses is a buddypress component.

  2. AlexD079

    Thank you for your response, but unfortunately the new code didn’t work either: meta property tags did not appear in the code of the course pages, and the compatibility problem between Yoast and BuddyPress still remains unsolved. Third party services (like Facebook etc.) still can’t pick up the neccessary info from courses pages, can’t figure out the path to the image (even if it’s specified precisely for each page via Yoast) and display random graphics for every course page, when shared outside the webside.

  3. AlexD079

    We’ve just updated to the latest theme (2.1) and the problem with double URLs in posts still remains. It got even worse — now every post has four of the same URL values, and OGP completely screws up all the data. Please help!

  4. tevch

    Inserted the code – SEO plugin doesn’t generate

    Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
    Inferred Property
    The ‘og:url’ property should be explicitly provided, even if a value can be inferred from other tags.
    Inferred Property
    The ‘og:title’ property should be explicitly provided, even if a value can be inferred from other tags.
    Inferred Property
    The ‘og:description’ property should be explicitly provided, even if a value can be inferred from other tags.
    Inferred Property
    The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
    Share App ID Missing
    The ‘fb:app_id’ property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.

  5. nursesed.net

    Is there an update on compatibility with Yoast SEO?
    I am literally just finding out that it doesn’t work with WPLMS and we’ve already spent months developing this site. Please tell me you are working on resolving this issue!

    1. The issue is in the Yoast SEO plugin that it is not compatible with BuddyPress. Currently, with WPLMS only the directory pages (all courses, all members) are not working with Yoast. We had already resolved this issue 3 times in the past but every Yoast seo update seems to break it which is why it keeps on coming again. This is in our to do list and will be resolved soon.

Leave A Comment?