ejajan Posted October 27, 2010 Share Posted October 27, 2010 Please help how do the settings.I make like facebook button to the PS website. After the code in the insert through block html module why the results error. After appearing on the web up comes your website address but refer the link so double addresses -> http://www.yourwebsite.com/www.yourwebsite.com'>http://www.yourwebsite.com/www.yourwebsite.com should only be http://www.yourwebsiteThis my web -> http://www.ejajan.comI enter the website address into the facebook button like -->like button facebookthe result site to the wrong address (to www.ejajan.com/www.ejajan.com) should only be http://www.ejajan.comAfter a member clicks like facebook button will then appear ("error") and the link leading to the http://www.ejajan.com/www.ejajan.com should only be http://www.ejajan.comPlease help solving my problem ..Thank you (I apologize for the bad english) Link to comment Share on other sites More sharing options...
tomerg3 Posted October 28, 2010 Share Posted October 28, 2010 The canonical URL module is the problem. Link to comment Share on other sites More sharing options...
Pippo3000 Posted October 29, 2010 Share Posted October 29, 2010 The canonical URL module is the problem. means I have to disable that then? Since I have the same issue. And canonical URL enabled. Which one is more important, haha! FB or CanURL? Well, possibly not really a valid question in case CanURL is really a must, then I would drop FBPhil Link to comment Share on other sites More sharing options...
tomerg3 Posted October 29, 2010 Share Posted October 29, 2010 The canonical URL module is the problem. means I have to disable that then? Since I have the same issue. And canonical URL enabled. Which one is more important, haha! FB or CanURL? Well, possibly not really a valid question in case CanURL is really a must, then I would drop FBPhil The problem is caused by a bug in the Canonical URL module, but regardless of the bug, that whole canonical tag is not very good (at least not in my mind), because search engines still try to crawl them.Check out this module http://www.prestashop.com/forums/viewthread/39736/ and a recent extension to it http://www.prestashop.com/forums/viewthread/74380/ Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 5, 2010 Share Posted November 5, 2010 The canonical URL module is the problem. any chance to correct the wrong links with the double posted http:// link which were added to some FB pages before I deinstalled the module? I mean I deinstalled the canonical URL now but there are still wrong references on some peoples FB pages. Do they all have to 'unlike' and then klick 'like' again to get this right? drives me crazy right now :-)phil Link to comment Share on other sites More sharing options...
tomerg3 Posted November 5, 2010 Share Posted November 5, 2010 yes, they have to unlike it, or remove it from their feed. Link to comment Share on other sites More sharing options...
Pippo3000 Posted November 5, 2010 Share Posted November 5, 2010 yes, they have to unlike it, or remove it from their feed. hum, glad I saw this pretty early. what is interesting nonetheless, now after I even deinstalled canonical URL and tried to click the like button on one of my pages it still shows up with double domain?! Plus, FB shows the complete link whereas for other products FB shows just the product name?! see, driving me crazy.EDIT: now the links shows correct in FB?! what's going on here? besides that fact that I cannot unlike the products/pages I chose to like before with the canonical URL module installed?! did I mention already that this is driving me crazy? Link to comment Share on other sites More sharing options...
jillamastrujillo Posted November 25, 2010 Share Posted November 25, 2010 How did you solve your problem? I have the same problem. Only uninstalla the canonical module and wait? yes, they have to unlike it, or remove it from their feed. hum, glad I saw this pretty early. what is interesting nonetheless, now after I even deinstalled canonical URL and tried to click the like button on one of my pages it still shows up with double domain?! Plus, FB shows the complete link whereas for other products FB shows just the product name?! see, driving me crazy.EDIT: now the links shows correct in FB?! what's going on here? besides that fact that I cannot unlike the products/pages I chose to like before with the canonical URL module installed?! did I mention already that this is driving me crazy? Link to comment Share on other sites More sharing options...
jillamastrujillo Posted November 25, 2010 Share Posted November 25, 2010 I found a temporal solution:Hosting on hostgator, canonical off, friendly url onI use this to create the facebook iframe link: href=mysite.com/{$product->id}-{$product->link_rewrite}.html and never works I got mysyte.com/mysyte.com/10-productname.htmlThe solution for the moment was to change the code to:href=mysite.com//{$product->id}-{$product->link_rewrite}.html Link to comment Share on other sites More sharing options...
yesiam Posted December 22, 2010 Share Posted December 22, 2010 Solution, paste in facebooklike.tpl this code: <iframe src="http://www.facebook.com/plugins/like.php?href=yoursite.com&layout=standard&show_faces=false&width=300&action=recommend&colorscheme=light&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; margin: 2pt; padding: 2pt; width:300px; height:35px;" allowTransparency="true"></iframe> to change yoursite.com and enjoys because with this worked to you perfectly, Thanks.Best Regards Link to comment Share on other sites More sharing options...
Dimaer Posted December 31, 2010 Share Posted December 31, 2010 Neither of "solutions" worked for me.Dublicates shop url and redirects likers to 404 page.Can beleive there is no good solution for such big problem....I also have tried to disable canonical module completelyHow come this code <iframe src="http://www.facebook.com/plugins/like.php?href=...&layout;={$fl_layout}&show;_faces={$fl_faces}&width;={$fl_width}&font;={$fl_font}&action;={$fl_text}&colorscheme;={$fl_color}&height;={$fl_height}" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:{$fl_width}px; height:{$fl_height}px;" allowTransparency="true"></iframe> Redirects to:yoursite.com/yoursite.com.... Link to comment Share on other sites More sharing options...
yesiam Posted January 1, 2011 Share Posted January 1, 2011 Solution, paste in facebooklike.tpl this code: (copy and paste this code) COMPLETE: <iframe src=“http://www.facebook.com/plugins/like.php?href=yoursite.com&layout=standard&show_faces=false&width=300&action=recommend&colorscheme=light&height=35” scrolling=“no” frameborder=“0” style=“border:none; overflow:hidden; margin: 2pt; padding: 2pt; width:300px; height:35px;” allowTransparency=“true”></iframe> to change"http://www.facebook.com/plugins/like.php?href=yoursite.com"---> yoursite.com and enjoys because with this worked to you perfectly, Thanks.Best Regards Link to comment Share on other sites More sharing options...
tomerg3 Posted January 1, 2011 Share Posted January 1, 2011 While this may fix the facebook problem, this is a much worse problem, as search engines still thing the correct pages of your site are http://www.yoursite.com/www.yoursite.com and they get 404 errors on all of them.You should remove the Canonical URL module right away (it's not very affective even when it's not buggy).I have just release a new version for my (http://www.prestashop.com/forums/viewthread/39736/) Duplicate URL Redirect module, which fixes this issue (it redirects the bad URL to the proper one). Link to comment Share on other sites More sharing options...
legacyhaircenter Posted January 2, 2011 Share Posted January 2, 2011 I had the same problem.It's frustrating. Oh well. Happy New Year. Link to comment Share on other sites More sharing options...
jarko90 Posted January 25, 2011 Share Posted January 25, 2011 guys i solved this problem, i have module facebooklike and i changed facebooklike.php from $smarty->assign(array('fl_page' => 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'])); to $smarty->assign(array('fl_page' => 'http://www.YOURURL.com//'.$_SERVER['REQUEST_URI'])); and it is working!!! dont forget to write // behind your URL and it will be working! see ya Link to comment Share on other sites More sharing options...
tomerg3 Posted January 25, 2011 Share Posted January 25, 2011 guys i solved this problem, i have module facebooklike and i changed facebooklike.php from $smarty->assign(array('fl_page' => 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'])); to $smarty->assign(array('fl_page' => 'http://www.YOURURL.com//'.$_SERVER['REQUEST_URI'])); and it is working!!! dont forget to write // behind your URL and it will be working! see ya This doesn't fix the problem, as it is not the source (please read the post fully before posting incorrect information).$_SERVER['HTTP_HOST'] will always equal your site's address.The Canonical URL module was causing this be adding an incorrect meta tag. Link to comment Share on other sites More sharing options...
Jiri FAMiNE Cermak Posted May 26, 2011 Share Posted May 26, 2011 Hi, have anyone found solution for wrong url problem? I have uninstalled Canonical URL module, but problem is still present... The solution with "\\" is also not ok, because this links to "another page". Link to comment Share on other sites More sharing options...
divers972 Posted January 27, 2012 Share Posted January 27, 2012 This doesn't fix the problem, as it is not the source (please read the post fully before posting incorrect information). $_SERVER['HTTP_HOST'] will always equal your site's address. The Canonical URL module was causing this be adding an incorrect meta tag. Hello Does your module will allow to use : - share social network module and - canonical URL module in same time? Because, with canonical URL module, it's also impossible to use the Add+1 google module. Link to comment Share on other sites More sharing options...
Recommended Posts