あなたはワードプレス(私の推測)あなたはfb:comments
で<?php the_permalink(); ?>
を入力してください使用している場合は、次のURLそう
$protocol = strpos(strtolower($_SERVER['SERVER_PROTOCOL']),'https') === FALSE ? 'http' : 'https'; // get the protocol
$host = $_SERVER['HTTP_HOST']; // host name
$script = $_SERVER['SCRIPT_NAME']; // script path
$params = $_SERVER['QUERY_STRING']; // params
$uri = $_SERVER['REQUEST_URI']; // full script path with params if you are not interested in protocol or host name
を作ってみない場合
<fb:comments href="<?php the_permalink(); ?>" num_posts="2" width="500" style="padding-top: 20px; margin-top: 20px; border-top: 1px dotted grey;"></fb:comments>
を
$currentUrl = $protocol . '://' . $host . $script . '?' . $params;
// or
$currentUrl = $protocol . '://' . $host . $uri;
<fb:comments href="<?php echo $currentUrl; ?>" num_posts="2" width="500" style="padding-top: 20px; margin-top: 20px; border-top: 1px dotted grey;"></fb:comments>