Google says no hreflang-tags – caused by code in head section?

  • Author
    Posts
  • #40656

    Hi there,

    I have a website in English and German (online-psychology.net), using the polylang plugin 2.0.7

    For a while Google webmaster tools shows me an error notification, that there are no hreflang tags on my website, even though I can see them in my code. All my plugins are updated and I installed the latest version of WordPress, which is 4.6.1.

    I read in some forums, that the code <div class="fit-vids-style">­<style> in the head section might produce the problem, because it’s not supposed to be in the head section.

    After deactivating all my plugins, the code is still there. So I am wondering, if the fitVids code is included in the Nirvana theme and that it might cause the problem… Anybody here with similar experiences and/or a solution?

    Cheers, Carolina

    #40892
    Zed
    Cryout Creations mastermind

    We’ll be adding an option to enable/disable the included Fitvids script in the next theme update so you should be able to further investigate this then.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
    #40899

    Hi Zed,

    thank you very much for the reply and the new feature for the update. Just one more question, bc I am not an expert. What’s this Fitvids script actually for?

    Carolina

    #40966
    Zed
    Cryout Creations mastermind

    It makes sure embedded videos fit on the screen on mobile devices.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Google says no hreflang-tags – caused by code in head section?’ is closed to new replies.