Open Graph tags

Puja

Newbie
Joined
Jan 24, 2018
Messages
15
Reaction score
0
How to implement og tags to a website published on plesk? I researched it a lot but nothing is found. I hope you guys will help me with the right answer.
 
You should be able to implement OG tags by putting them into the page template's <head> tags.

Code:
OG Tag Example
<html prefix="og: http://ogp.me/ns#">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
...
</head>
...
</html>
Source: http://ogp.me

Should be basically the same as adding any other meta tags.
 
To turn your web pages into graph objects, you need to add basic metadata to your page. We've based the initial version of the protocol on RDFa which means that you'll place additional <meta> tags in the <head> of your web page.
 
Back
Top