yes, it is a pinterest problem.
But you can get around it by using str_replace because you need to have %26 in what is sent. Not '%26amp%3B' . Then it does work and doesn't strip the end off the url. I have it working on one of my sites ( the only on that doesn't use uri rewriting) As lhungil says it has to do with the use of characters as delimiters. In this case not so much to do with HTML but rather to do with the way pinterest parses the URL that is in their link. It looks like it uses $amp; to explode the link which means that if it appears somewhere else it is going to cause issues. Sort of like having commas in a csv file.
What works for me is :
Code:
urlencode(str_replace('&','&',$canonicalLink))
So this is the whole section of the link which works.
Code:
...url=http%3A%2F%2Fdomain.com%2Findex.php%3Fmain_page%3Dproduct_info%26products_id%3D341&media...
But, while I have your attention, Melanie. What is your opinion of the issue with the canonical links that Zen produces? I mean, if I copy and paste the canonical link for a product_info page into a browser it shows me 'product not found' . That can't be great can it?
You know much more about that search engine world than I do, so?
Bookmarks