The facebook comment plugin in my PHP site doesn't understand the URL in the href attrib and displays Warning: Link us unreachable.
I have tested with a file that doesn't use .htaccess which runs good and doesn't throw any errors or warnings, but when I put a virtual URL on href. Facebook doesn't understand the url.
This is the code of my site:
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script><fb:comments href="<?php echo $commenturl; ?>" num_posts="10" width="700"></fb:comments>
This is information in my site:
$commenturl = http://smashlix.com/battle/Ipad-or-Windows-8
.htaccess content: RewriteRule ^battle/(.*)$ ./index.php?view=bd&title=$1
Please help me !