WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
[resolved] Meta Description replaced by Widget copy in Facebook post link (6 posts)

  1. donshapiro
    Member
    Posted 6 months ago #

    Well, this is one of the strangest things I've seen so far.

    We've been using All In One SEO Pack for a long time on five different websites using four different themes. All of them were working fine until something starting messing up on one of them. When we post a link from our http://pleiadians.net website (any post) to Facebook, the title shows correctly but instead of the meta description, it now pulls copy out of one of our ad widgets. The page source correctly shows the meta description. We checked other post done previously which also used to work but all of them now pull ad copy from our Hyptalk ads displayed in one of our widgets.

    We checked post from two other websites running different themes and the meta descriptions are posting correctly from those sites.

    Last month, we were able to post pages from this website and the meta description showed correctly. What changed? We haven't added any new plugins or anything. We haven't actually done anything new in a couple of weeks.

    Here is the newest post that we tried putting into Facebook (many different pages, groups, profiles) and every time it shows Hyptalk instead of the meta description. We also tried this on two different browsers (Firefox and Chrome) and it produced the same result in both.

    http://pleiadians.net/music/free-songs-from-the-pleiadians.html

    http://wordpress.org/plugins/all-in-one-seo-pack/

  2. Peter Baylies
    Member
    Plugin Author

    Posted 6 months ago #

    All in One SEO Pack does have options for managing Social Meta, including Facebook, but it looks like you aren't using that module. Therefore, nothing All in One SEO Pack is doing on your site should influence the content that Facebook decides to display from it. It could be that the ad on your site has changed, or that Facebook has changed how it scrapes content from your site. I'd suggest taking a look at the Facebook Debugger to try to troubleshoot this. Or, you could try using our Social Meta module and see if it helps with your issue as well.

  3. donshapiro
    Member
    Posted 6 months ago #

    Peter,

    Can't thank you enough for the education. I'm not a techie so I just go along until something doesn't work then need to learn something new. I had no idea Facebook created its own Open Graphic Objects code (OG). All these years, I thought meta titles and descriptions were enough. Facebook I guess loves to make things more complex or rather thinks the world should revolve around it so they now force us to add OG meta data. Who knew?

    The Facebook Debugger worked great. Showed the OG errors. I never paid attention to All in One's Social Meta feature out of ignorance about these things. I activated it and figured out how to work the specifications and all is well with the world. Now my OG code shows in the page source and the debugger shows no errors.

    One thing that may need to be changed is All In One's description about the Default Image title setting or this could be a glitch. If you set it to Default, it does not read the image specified in the post and puts the default into the OG image. You have to set it to Custom for it to use the Custom image you specify in your post Social Meta settings.

  4. Peter Baylies
    Member
    Plugin Author

    Posted 6 months ago #

    donshapiro,

    Great, glad you've got this working; you can use the Select OG:Image Source option to manage which image gets used by default for the OG:Image here (you can override this in the settings on each individual post). Here's what those options mean:

    Default Image - use the image specified as the default image on the settings page
    Featured Image - use the featured image from the post
    First Attached Image - use the first attached image on the post (media attachments)
    First Image In Content - use the first image tag found in the content of the post
    Image From Custom Field - use an image specified from a custom field (field name specified in the settings)
    First Available Image - goes through all of these options automatically

  5. donshapiro
    Member
    Posted 6 months ago #

    Hi Peter,

    Thanks for the explanation. I've spent some time playing around with this and have discovered something Social Meta doesn't handle that may call for some more image fields.

    If I put an image URL in default field, it will always go to that image and Facebook will not offer any other options. Often in Facebook, we will see a tiny arrow that allows us to pick from more than one image pulled from a page. But if we put an image in the Default image field, that's all we get and nothing else.

    If we do not put any image in the Default image field, then Facebook will present us with two image options.

    Now, here is the real quark. If you go to the website in question (http://pleaidians.net), you will see a big blue book image in the right sidebar, a purple triangle in the left sidebar and a mutli-colored music album in the footer. These are the three largest images on the page and I believe the only images on the home page.

    Now watch the bouncing ball. If we place the purple triangle in the default image field, we get the purple triangle in our Facebook link. If we place nothing in that field, we are only offered the blue book and music album but not the purple triangle.

    Since we set up this site, we have never been able to get Facebook to ever pull that purple triangle on its own. Only when we lock down the spec to just that image will Facebook pull it. All three images are well over 200x200.

    So, when Facebook in all its stupidity doesn't like certain images when left to its own devices, we would like to be able to specify (lock down) more than one possible image to choose from in the Social Meta page. I would like to see 4 image fields available. That way, we can control what images are used and if we put more than one in under default, then Facebook will give us the option as which to choose.

    Our problem with this website is we want to go back and forth between the blue book and the purple triangle. We can't do that right now with your software. It's either the blue book or the triangle.

  6. Peter Baylies
    Member
    Plugin Author

    Posted 6 months ago #

    Hi Don,

    While it is also possible to specify multiple og:image tags on a page, we currently don't do this. Also, obviously we can't control which images Facebook chooses to display on its own. However, can't you specify either image from the plugin, and won't that still show up in Facebook?

    In any case, here's some example code showing how you could manually add another og:image tag across your site:

    add_action( 'aioseop_modules_wp_head', 'don_add_book_image_meta', 6 );
    
    function don_add_book_image_meta() {
    echo '<meta property="og:image" content="http://firstconcepts.com/testpleiadians/wp-content/uploads/2013/10/Comes-The-Awakening-Cover-Kindle.jpg" />' . "\n";
    }

Reply

You must log in to post.

About this Plugin

About this Topic