No bug Sharing articles to social media displays incorrect information
- Raoul Alderse Baas
-
Onderwerp Auteur
- Offline
Minder
Lees meer
- Berichten: 6
- Ontvangen bedankjes 1
3 jaren 2 maanden geleden - 3 jaren 2 maanden geleden #2458
door Raoul Alderse Baas
Sharing articles to social media displays incorrect information werd gestart door Raoul Alderse Baas
Dear Support,
On 2 of our client's websites we've run into the issue that while sharing an article to social media, the wrong information is collected. And after looking into the source code I can see that the opengraph info embedded into the article is different from the one shown by the social media: (See attachments for reference).
How can we resolve this issue?
Here is the url of the page in question:
kunstmetlars.nl/?view=article&id=361:wor...r-waarneming&catid=2
Kind regards,
Damian de Geus
On 2 of our client's websites we've run into the issue that while sharing an article to social media, the wrong information is collected. And after looking into the source code I can see that the opengraph info embedded into the article is different from the one shown by the social media: (See attachments for reference).
How can we resolve this issue?
Here is the url of the page in question:
kunstmetlars.nl/?view=article&id=361:wor...r-waarneming&catid=2
Kind regards,
Damian de Geus
Laatst bewerkt 3 jaren 2 maanden geleden doorRaoul Alderse Baas.
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
-
- Offline
Minder
Lees meer
- Berichten: 1787
- Ontvangen bedankjes 116
3 jaren 2 maanden geleden - 3 jaren 2 maanden geleden #2459
door Ruud van Lent
Beantwoord door Ruud van Lent in topic Sharing articles to social media displays incorrect information
Hi Raoul,
So this is what happens (from the facebook share debugger):
So it works 'perfect' correct.
Issue here is in your URL's > as you can see there is an issue in your menu structure what is used to build the SEF URL > your URL consists of non-SEF parts (like catid, articleid, etc.)
So this is what happens (from the facebook share debugger):
- This is the URL you are sharing to facebook
- facebook visits that URL and finds a Canonical URL that is different from the shared URL
- So facebook redirets to this canoncal URL (as that is what the canonical URL does; it sets the correct URL for search engines and social media to avoid having multiple URL's pointing to the same content
- and last facebook get the og: tags from that redirected to URL (which in this case is the home page)
So it works 'perfect' correct.
Issue here is in your URL's > as you can see there is an issue in your menu structure what is used to build the SEF URL > your URL consists of non-SEF parts (like catid, articleid, etc.)
Laatst bewerkt 3 jaren 2 maanden geleden doorRuud van Lent.
Graag Inloggen deelnemen aan het gesprek.