Portals (MOSC)

MOSC Banner

How to add meta tags for portal under <head> tag

in Portals (MOSC) 3 commentsAnswered ✓

Product: Oracle WebCenter Portal

Product Version: 12.2.1.4.XX

I have a requirement to share the portal URL (it is news content) on various social media like Facebook, WhatsApp, Twitter (X now) and LinkedIn. while sharing the URL it fetches the image, title, and description based on the meta tags defined in <head> section like below.

<head>    
<meta name="description" content="Your news description goes here">
    <meta property="og:title" content="Your News Title">
    <meta property="og:description" content="Your news description goes here">
    <meta property="og:image" content="URL_TO_YOUR_IMAGE">
    <meta property="og:url" content="URL_TO_YOUR_PAGE">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="Your News Title">
    <meta name="twitter:description" content="Your news description goes here">
    <meta name="twitter:image" content="URL_TO_YOUR_IMAGE">
  
</head>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center