• Resolved Anonymous User 14978628

    (@anonymized-14978628)


    Hi, as this plugin outputs OG tags, do you recommend using the following:

    <html lang="en-US" prefix="og: https://ogp.me/ns#">

    Instead of just

    <html lang="en-US">

    In my header? Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Marty,

    I don’t necessarily, but when implemented, only conditionally: “are there tags?”

    We can’t control the theme’s output (annoyingly), so this tag is omitted.
    Facebook and other OG services are aware of this and have adjusted as necessary, so the tag isn’t required.

    There’s some heavy, technical documentation available, right here:
    https://www.w3.org/TR/rdfa-lite/

    Basically, this all means that Facebook comes prepared, with the ogp.me/ns dictionary, before crawling any site and will look for the og:... tags accordingly.

Viewing 1 replies (of 1 total)
  • The topic ‘HTML Lang’ is closed to new replies.