• Resolved userwords

    (@userwords)


    After several attempts to verify facebook on yoast social tab, with a message saying there was no tag found, i tried to use another plugin called add meta tag, and using a box it has to add tags in the header verification on facebook worked the very first time.

    In both cases tag was in the source of the page.
    As far as i can see the main difference is that when introduced through yoast seo tag ended near the lower part of the web probably the footer (it is minimized and looks like a chaos). While with add meta tag the tag is on the header. Im not sure if it is yoast optimizing that put it on the lower part or maybe my cache plugins (autoptimize and wp super cache).

    My question is:

    Is that tag necessary once it is found, or maybe i can delete it safely.

    If not. Is there anything i can do to make it working under yoast seo, or maybe natively. I suppose it should not be a bug because it would not be working for anyone.

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter userwords

    (@userwords)

    Actually the tag is in the header but at the end after css stylesheet, next to the og: tags and is identically the same in both plugins, no errors, but the add meta tag plugin adds it at the beggining of the header before de css stylesheet and for some reason it works there but not more down in the header where yoast puts it. This is the error:

    Bad Request

    No admin data found at root webpage ‘https://www.yourdomain.com/’. Insights requires admin data at the root webpage for the domain ‘www.yourdomain.com’. Use https://developers.facebook.com/tools/debug to verify that we are able to extract the admin data from your root webpage.

    Css stylesheet is minified and theme is customizr and is indeed a long stylesheet so my guess is facebook has set a limit for how long code will read in the header before stop trying to find the tag, so if there is a lot of code stuffed up there before the tag it wont make all the way down to it even if it is before the closing header tag. This looks like a bug or more appropriately an unexpected behaviour that may affect certain users with minified long css stylesheets as far as i can see.

    AskKim

    (@askkim)

    Hi userwords,

    Facebook REALLY expects those tags to be in the header. It’s not simply an issue of minification, but that one of your plugins is moving our output to the footer.

    You need to look through those plugins, find which one is doing it, and exclude our plugin from the list of scripts and out put that are allowed to be moved to the footer.

    Often, moving scripts to the footer is a GREAT practice, but it’s tricky – as you have just encountered – to move them ALL – without understanding that some shouldn’t be moved.

    ~ Kim ~
    Support at Yoast

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook tag fb:admins not working in Yoast but does in another plugin’ is closed to new replies.