Wordpress plugins
Change OG URL To HTTP

Change OG URL To HTTP

Version : 1.0
Tested up to : 4.8.2
Number of download : 49
Author : Mukesh Mani
Average rating : 0 / 5 on 0 votes 0 votes, 0 avg.rating

Screenshots

Change OG URL To HTTP
Change OG URL To HTTP
Change OG URL To HTTP
Change OG URL To HTTP

When you shift your blog from HTTP to HTTPS, all your posts/pages lose facebook likes/share count. The only way to regain these likes/share counts is to add a ‘OG URL’ tag that points back to the older ‘HTTP’ urls as described here by Facebook. This plugin helps you do just that. If you use a SEO plugin like Yoast, the OG URL tag automatically reflects the HTTPS version for HTTPS URLs. This plugin adds a filter to the ‘OG URL’ output and changes it back to ‘HTTP’ for all existing posts/pages. New posts that you add after this plugin is activated will not be affected. Similary, the canonical URL tag remains unchanged as ‘HTTPS’. Canonical tag is used by search engines like Google. So you are good when it comes to SEO. This plugin changes the OG URL output for the following popular plugins: Yoast SEO Plugin ALL In One SEO Pack WP facebook open graph protocol by Chuck Reynolds Facebook Open Graph, Google+ and Twitter Card Tags plugin by Webdados Note This plugin only changes the ‘OG URL’ tags for posts that existed when this plugin is first installed. This way all new posts will have the regular OG URL tags with ‘HTTPS’. How does this work? Once you install and activate the plugin, all ‘OG URL’ tags for existing posts/pages will be filtered to ‘HTTP’ URLs. Once that happens, your posts/pages will regain their like/share counts once Facebook recrawls (rescraps) your webpages. To do this manually, follow these steps: Login to your facebook account and go to Facebook debugger tool Enter the ‘HTTPS’ url of one of your pages/posts and click the ‘Debug’ button. If you get the “This URL hasn’t been shared on Facebook before.” message,click on the ‘Fetch New Information’ button. Now click ‘Scrap Again’. You should now be able to see all your ‘likes’ to the page. You would also see two URLs under the ‘Redirect path’ heading which reflects your og:url meta tag and your original HTTPS URL. To bulk update URLs, use the ‘Batch Invalidator’ tool For more information on the OG:URL tag and how this plugin works, check out this article

Download now