Hi , as we told yesterday we have already got the code like : $url = apply_filters( ‘wpseo_opengraph_url’, WPSEO_Frontend::get_instance()->canonical( false ) );
from plugin file class-opengraph.php .Since our ise migrated to https we have to replace https with http to keep old og:url for getting all previous like counts .So now we had simply given a code like $url = apply_filters( ‘wpseo_opengraph_url’, WPSEO_Frontend::get_instance()->canonical( false ) );
$url = str_replace(“https”,”http”,$url);.
Fortunately this solved the current problem upto 95%.Because now when we take the blog page its og url is old one .But could you please ensure this will remain there after plugin updation?Do you have any suggestion to keep this replace code even after plugin updations ?Becasue this is simply a php function which may lost after your plugin modifications..Kindly reply
One more thing :Evnthough we have changed back to old og:url ,the like count will give old correct data only if we clicked on it atleast once .So if you know any other solution kindly help us