I have pretty permalinks enabled like this:
http://domain.com/category/post_name
I also use facebook comments widget for the comments, Currently the href attribute is set to the pretty permalink by calling the_permalink().
The issue is that if i ever happen to edit the post name (slug) or the category, Facebook thinks it's a new URL so the old comments are not displayed anymore.
I tried fixing the issue by pointing the href to the non-pretty permalink like: http://domain.com/?p=XXX but now Facebook shows a warning that it can't reach the URL, that's because WP redirects non-pretty urls to pretty with a 301 redirect.
Any idea how to work around this?