开发者

changing product urls -but I don't want to lose or hide existing likes?

开发者 https://www.devze.com 2023-04-04 03:24 出处:网络
As part of site restructuring (essentially SEO related improvements) one of my site\'s product urls are all goin开发者_C百科g to change. Using ReWrite rules the products are changing from the current:

As part of site restructuring (essentially SEO related improvements) one of my site's product urls are all goin开发者_C百科g to change. Using ReWrite rules the products are changing from the current: /[manufacturer]/products/[product_id].php to /[manufacturer]/[range]/[product_name].php

But I notice on the new pages that previous likes for these products are not showing. I have used the graph protocol to generate the like buttons, so I was hoping that if I kept the old URL in the meta tags that they would link up to the old likes - unfortunately this is not happening.

Is there anyway to like my new product urls to their existing likes??


You can add permanent redirect from old product URL to new, and show old likes (src to old url).


this question is answered by this now inactive bug:

http://bugs.developers.facebook.net/show_bug.cgi?id=18198

Essentially need to add the old urls in the href tag of the like button on your new page:

<fb:like href="http://[domain_name]/[old_path]" ></fb:like>
0

精彩评论

暂无评论...
验证码 换一张
取 消