When a page URL changes, all Facebook like counts are reset to zero.
This is because Facebook tracks like counts by URL. Users would like the original like count to remain after updating the URL of a resource, or in most cases, their entire site.
(such as when changing a site from http:// to https:// or moving WordPress from a subfolder to the root)
ProPhoto can add a custom field to all posts, pages, and custom post types (like our Gallery page types) to save the URL of the page when the first 'like' happens. Then, we can use this URL for the og:url tag, as recommended by Facebook:
The storage of the URL can be default behavior, but the use of the original URL can be an opt-in option in "ProPhoto > Settings > Site Settings > Social Media" so that users have a choice if they want original likes to be retained when page addresses change or not.
When a page URL changes, all Facebook like counts are reset to zero. This is because Facebook tracks like counts by URL. Users would like the original like count to remain after updating the URL of a resource, or in most cases, their entire site. (such as when changing a site from
http://
tohttps://
or moving WordPress from a subfolder to the root)ProPhoto can add a custom field to all posts, pages, and custom post types (like our Gallery page types) to save the URL of the page when the first 'like' happens. Then, we can use this URL for the
og:url
tag, as recommended by Facebook:https://developers.facebook.com/docs/plugins/faqs#faq_1149655968420144
The storage of the URL can be default behavior, but the use of the original URL can be an opt-in option in "ProPhoto > Settings > Site Settings > Social Media" so that users have a choice if they want original likes to be retained when page addresses change or not.