News:

Support the VirtueMart project and become a member

Main Menu

Meta-tags with duplicate domain name [solved]

Started by bartpg, August 11, 2014, 15:22:26 PM

Previous topic - Next topic

bartpg

Not entirely sure where to place this, although this problem surfaces at the share-buttons on the product details page:

Joomla 2.5.24
Virtuemart 2.6.6

When sharing the product to Facebook, the image isn't included. Although the og:image metatag is present in the source, the URL to the particular image isn't correct. The domain name is added twice, probably due to VirtueMart (?) passing the absolute URL which is then added to the Joomla base-url. I can't seem to find the part of the code that causes this while searcing for any og: string in either the Joomla or VirtueMart code. Anyone out there that can point me in the right direction to get the og:image meta working properly? The problem sounds similar to this link, although covering another developers' component.

Example site: http://lanine.nl/vavin/vavin-intensive-dagcreme-droog-zeer-droge-huid-artikelgegevens
Facebooks Object Debugger: https://graph.facebook.com/545792572217253

GJC Web Design

on a standard VM2.6.6 no og tags are produced - so they must be produced by your yag template -> so - > direct your query to them I'm afraid
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

bartpg

Quote from: GJC Web Design on August 11, 2014, 15:48:34 PM
on a standard VM2.6.6 no og tags are produced - so they must be produced by your yag template -> so - > direct your query to them I'm afraid
Pushes me in the right direction, thanks! This can be closed.