Support » Plugin: Yoast SEO » Javascript head placement SEO

  • Resolved paulalexandru

    (@paulalexandru)



    I use this plugin and I made a test on http://ready.mobi and I get this 2 errors:

    MAJOR FAIL | JavaScript placement | Found JavaScript inside head

    <script type=”application/ld+json”>{“@context”:”http: … </script>

    So as I see this code appears to be in plugins/wordpress-seo/frontend/class-json-ld.php in function function output.

    So if this is a SEO plugin, why this javascript code is placed in the head?

    The second problem refers again to the same code as a inline JavaScript code.

    I get this message:

    Inline JavaScript code should not be used, instead JavaScript should be collected into a single minified include file

    https://wordpress.org/plugins/wordpress-seo/

  • The topic ‘Javascript head placement SEO’ is closed to new replies.