Tagged: x
-
AuthorPosts
-
June 1, 2016 at 4:59 pm #1020880
Hey, When I share a page on Facebook the wrong description is showing up. I am not having this problem with posts, only pages (Example: http://younlimited.com/unlimited-woman-awards/… when I share this on facebook it just shows me the code that the text is wrapped in, example attached).
I have tried a few different things so far based on other topics in the forum. Originally I had the Open Graph Enabled under Customizer and the issue was still happening. I turned the Open Graph off as I also have Yoast SEO installed and I thought they may be over riding one another. Since then I have disabled Open Graph in Customizer. Open Graph is enabled in Yoast SEO and the description and details are accurate in there. I have ran the FB debugger as well to recache the page and it is still not working.
Can you please provide some guidance?
June 2, 2016 at 12:09 am #1021488Hi There,
Thanks for posting in.
Upon checking on facebook debugger, I found the following error:Parser Mismatched Metadata
The parser’s result for this metadata did not match the input metadata. Likely, this was caused by the data being ordered in an unexpected way, multiple values being given for a property only expecting a single value, or property values for a given property being mismatched. Here are the input properties that were not seen in the parsed result: ‘og:locale:locale, og:type, og:title, og:description, og:site_name, article:publisher, fb:admins, og:image:url’Viewing the page source code shows multiple meta tags. The first one was coming from SEO Yoast Plugin:
<!-- This site is optimized with the Yoast SEO plugin v3.2.5 - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="Please join us for a celebration of women in Victoria, BC. The Unlimited Woman Awards, produced by yoUnlimited, recognizes women in Victoria in a number...."/> <meta name="robots" content="noodp"/> <link rel="canonical" href="http://younlimited.com/unlimited-woman-awards/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Unlimited Woman Awards - yoUnlimited" /> <meta property="og:description" content="Please join us for a celebration of women in Victoria, BC. The Unlimited Woman Awards, produced by yoUnlimited, recognizes women in Victoria in a number...." /> <meta property="og:url" content="http://younlimited.com/unlimited-woman-awards/" /> <meta property="og:site_name" content="yoUnlimited" /> <meta property="article:publisher" content="https://www.facebook.com/yoUnlimited/" /> <meta property="fb:admins" content="120603729" /> <meta property="og:image" content="http://younlimited.com/wp-content/uploads/2014/04/awards.jpg" /> <meta property="og:image:width" content="2160" /> <meta property="og:image:height" content="1080" /> <!-- / Yoast SEO plugin. -->
The other one was coming from Revolution slider.
<meta property="og:site_name" content="yoUnlimited"><meta property="og:title" content="Unlimited Woman Awards"><meta property="og:description" content="Where Women Connect"><meta property="og:image" content="http://younlimited.com/wp-content/uploads/2014/04/awards.jpg"><meta property="og:url" content="http://younlimited.com/unlimited-woman-awards/"><meta property="og:type" content="article"><meta property="og:type" content="article" /> <meta property="og:url" content="http://younlimited.com/unlimited-woman-awards/" /> <meta property="og:title" content="Unlimited Woman Awards" /> <meta property="og:site_name" content="yoUnlimited" /> <meta property="og:locale" content="en_US" /> <meta property="og:description" content="[cs_row inner_container="true" marginless_columns="false" style="margin:..." /> <meta property="og:image" content="http://younlimited.com/wp-content/uploads/2014/04/carolyne_signature.jpg" /> <meta name="generator" content="Powered by Slider Revolution 5.2.5.3 - responsive, Mobile-Friendly Slider Plugin for WordPress with comfortable drag and drop interface." />
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then please add the suggested code on this article: https://www.themepunch.com/faq/remove-meta-tag/ on your child theme’s functions.php to remove Revolution slider generated meta tags.
Hope this helps.
September 1, 2016 at 12:11 pm #1157175Hi thank you. I have installed the child theme. I just want to make sure I have this clear as what I tried did not work….
Now that the child theme is installed, all I need to do is paste the suggested code into the functions.php file of the child theme and that should remove the meta tags from rev slider? Or do I need to copy a code from the X theme functions.php and edit it in the child theme?
Thanks for your help.
September 1, 2016 at 3:09 pm #1157405Hi there,
You just need to add the code into your functions.php file.
Let us know how it goes.
Thanks!September 2, 2016 at 10:31 am #1158574Even after adding the code into my child theme functions.php file and using the facebook debugger, facebook is still displaying the wrong meta tags. This is only an issue for our pages not our posts. Please see photo attached. The url used for this test was http://younlimited.com/our-offerings/women-and-words/. Any other tips?
Thanks for your help.
Katie
September 2, 2016 at 10:33 am #1158578Sorry the upload didn’t work… Here it is.
September 2, 2016 at 6:36 pm #1159064Hi there,
In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
September 6, 2016 at 1:21 pm #1163369This reply has been marked as private.September 7, 2016 at 1:30 am #1164018Hi There,
I can still see multiple tags. I am not sure where the other on is coming from. Can you go to Appearance > Customize > Social >Enable Open Graph: Select OFF. Since you have Yoast already, we can switch this to OFF. Then check the page again using the debugger.
If the issue still persists, please also try adding this code:https://gist.github.com/DevinWalker/ee9d4e53883460c6bbb8
Do let us know how this goes.
September 8, 2016 at 2:16 pm #1166902Hi,
I tried turning off the Open Graph and that on its own didnt work. I have deactivated my Yoast SEO and have enabled the Open Graph and that seems to have worked. Now the meta tag is showing as “View post for more”. This is not a meta tag that we have added but seems to be an automatically generated tag. How can I change the meta tags for each page now?
September 8, 2016 at 10:42 pm #1167500Hello There,
Please follow these steps:
1] Please disable the Open Graph in your customizer, Appearance > Customize > Social > Open Graph
2] Activate Yoast SEO plugin.
3] Edit your page like this one: Appearance > Customize > Custom > CSS and supply the page title, kewywords and the page description.
4] Clear your plugin cache (if you installed a caching plugin)
5] Test the page in Facebook debugger again.Hope this helps.
-
AuthorPosts