Hello perhaps you can try hardcoding the og:url (the url that goes to facebook) meta field using the answer in the this post
https://wordpress.org/support/topic/change-ogurl/
Thread Starter
acqua
(@acqua)
Great! Can you assist a bit more?
Where to place the code?
What code to use?
I did a bit more investigation on your site and I saw that you have a different problem. You have set the og:url meta correctly but you have also included the meta tag canonical URL which points to the original page.
<link rel=”canonical” href=”https://www.fcinter1908.it/copertina/mercato-inter-individuato-nuovo-regista/”>
In some cases, conical URL “overpowers” og:url and this causes your facebook problem.
Do you use a specific SEO plugin for your page? If yes have a look at the options and either set canonical URL to your domain or remove it completely and see if anything changes.
To force Facebook to re-scrape your page use this tool
https://developers.facebook.com/tools/debug/sharing/
and press the scrape again button.
Thread Starter
acqua
(@acqua)
Hi,
I use Seo Yoast should I set it differently?
Go to your post and edit it. There you will see some extra options under Yoast SEO. One of the available tabs in Yoast SOE is Advanced. There you can find Canonical URL and change it.
Here is the complete guide on how to do it
https://kb.yoast.com/kb/canonical-urls-in-wordpress-seo/
Thread Starter
acqua
(@acqua)
Yes, if the number of posts is such that you cannot change them by hand, you should use one of these. Specifically
/* Remove Yoast SEO Canonical From All Pages
* Credit: Yoast Team
* Last Tested: Jun 16 2017 using Yoast SEO 4.9 on WordPress 4.8
*/
add_filter( 'wpseo_canonical', '__return_false' );
Thread Starter
acqua
(@acqua)
Would you be so kind to tell where to add that code? In which file?
open the functions.php file in the theme editor (https://vlachopanos.gr/instrutions.png) and paste the code in there.
Thread Starter
acqua
(@acqua)
it actually works!
tks man!