Changing the og:url output
og:url tag pulls from the permalink of the post/page. When the permalink changes so will that
og:url. The most common request to change the
og:url is when a site migrates to
https and wants to keep their previous share counts.
You or your developer can use the
wpseo_opengraph_url filter to customize this feature. Code examples can be found here.
If you do not have a developer and are not sure how to use the code or where it goes consider using a Yoast Partner who can help.