cancel
Showing results for 
Search instead for 
Did you mean: 

social metatags are showing up after </head> tag in view page source

social metatags are showing up after </head> tag in view page source

Hello, 

I am experiencing a strange issue with my magento website.

When i try to see social meta-tags through "inspect element"  they are located inside <head> tag. But when i try to catch them through "view page source" they are located after <head> tag ( i mean between </head> and <body >)

</head>
<meta property="og:title" content="NAME OF PRODUCT"/>
<meta property="og:url" content="DOMAIN/name-of-product.html"/>
<meta property="og:type" content="product"/>
<meta property="og:image" content="domain/media/catalog/product/cache/1/image...."/>
<body class=" catalog-product-view catalog-product-view product-name-of-product">

Thank you in advance!!!

2 REPLIES 2

Re: social metatags are showing up after </head> tag in view page source

Hi @taroshka90

 

Can you tell me how you have added those Social Meta tags? I think it's not been installed properly which is causing this issue. Give me your website URL to let me have a look.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: social metatags are showing up after </head> tag in view page source

To be honest, i haven't built the website. i have no idea what is going on over here. Regarding the link of the site, please don't take me wrong, but i don't have the rights to share the link. I know that won't help me. All i can share in this forum is only the issue i am facing. 

Please take my apology and thank you for assisting...If you have any idea, i would appreciate a lot !