jtm0n3y Posted October 31, 2012 Posted October 31, 2012 I am trying to get facebook like buttons to play nice with my SEO url's. Every time I attempt to like a product it tries to link to the non SEO friendly url of the product page and product image. I am using 2.2 rc2a and this code: <!--Social Network--> <tr> <td> <table cellpadding=0 cellspacing=0 border=0 style="margin-top:20px;"><tbody><tr> <td align="left" valign="top"> <!--FACEBOOK--> <iframe src="https://www.facebook.com/plugins/like.php?href= <?php echo "http://{$_SERVER['HTTP_HOST']}{$_SERVER['PHP_SELF']}"; ?>" scrolling="no" frameborder="0" style="border:none;width:400px;height:80px"></iframe> </td> <td align="right" valign="top"> <!--TWITTER--> <a href="https://twitter.com/share" class="twitter-share-button" data-lang="it" data-size="large" data-count="none">Tweet</a> <script> !function(d,s,id){ var js,fjs=d.getElementsByTagName(s)[0]; if(!d.getElementById(id)){ js=d.createElement(s); js.id=id;js.src="//platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js,fjs); } } (document,"script","twitter-wjs"); </script> </td> </tr></tbody></table> </td> </tr> How can I get this to work properly with my SEO url's. Help please :) Quote
jtm0n3y Posted November 1, 2012 Author Posted November 1, 2012 No one has done this that can lend a hand!? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.