When you share a URL on social media, it will attempt to generate a Title and Description for the URL preview box. In some cases, you might not like this preview text and want to set these fields to something specific. Many social media sites use Open Graph Protocol to communicate.
For DNN, the easiest method is to add metatags to a page head.
<meta property="og:title" content="My Shared Article Title" /> <meta property="og:description" content="Description of shared article" /> <meta property="og:url" content="http://example.com/my_article.html" /> <meta property="og:image" content="http://example.com/foo.jpg" />
Copy the metatags above and paste them into Notepad. Replace the content values between the parenthesis. If you do not have an image to share, delete that line. After the metatags have been updated, paste it into the Page Header Tags.
To find the Page Header Tags:
Log in > Edit Page > Page Settings > Advanced Settings Tab > Scroll down to the Page Header Tags field > Paste in the metadata lines
If the URL has been pasted or shared into LinkedIn or Facebook, it may take up to 7 days for the social media site to pick up the new changes. On Facebook, you can add a new parameter to check a fresh view of the site.