Are there some caveats for using guids for FB comments

I'm using Facebook comments box and just realized that when we use div class="fb-comments" data-href="?php the_permalink(); ?" data-width="100%" data-numposts="5"/div and then realize our title is wrong, changing the title (and slug in the process) we lose all social counts because they are tied to the url.

So I was wondering why I'm not using div class="fb-comments" data-href="?php the_guid(); ?" data-width="100%" data-numposts="5"/div instead.

The url as domain.com/?p=10000 doesn't change even if the slug/url or what ever would change.

Are there some caveats for this method I'm not realizing?

Topic guids facebook comments Wordpress

Category Web


You need to 301 redirect the old URLs. This can be done by using Custom Permalinks plugin which automatically updates the 301 version of the URL and thus helping the Facebook plugin to recognise and restore the likes and comments.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.