Facebook social plugin comments after URL change

前端 未结 3 1589
悲&欢浪女
悲&欢浪女 2021-01-15 05:43

Just a simple question, I had facebook comments integrated in my page here:

http://www.bbcnepalidrama.com/main/node/3

Now I have changed the URL alias like t

相关标签:
3条回答
  • 2021-01-15 06:04

    This sucks in Facebook comments. I've launched a site with Facebook comments integrated, without setting the URL, and now when I do, the comments doesn't show up.

    Your case seems to be easy, since it seems you're using Drupal. You can install the token and token_filter modules, so you can add the facebook comments code to a block and use the appropriate token that will return the node id from the current page.

    0 讨论(0)
  • 2021-01-15 06:08

    I think, that these comments will be forever associated with that URL and since you've changed it, as far as FB is concerned you are pointing to a different URL.

    0 讨论(0)
  • 2021-01-15 06:08

    you can specify the old URL as “canonical” with an og:url meta tag. see the FAQ about this.

    0 讨论(0)
提交回复
热议问题