PDA

View Full Version : vBulletin CMS Like button count drops when SEO URL changed


findingpeace
06-21-2013, 11:45 AM
EDIT: Scratch all of this. I figured out a better way to make sure the URL is always consistent.

This appears to be an issue with query strings. Is there a modification I can make to vBulletin code to include Facebook Likes for ALL permutations of a base article URL, instead of the exact SEO URL?

For example:

http://site.com/content.php?123

should show the same likes as:

http://site.com/content.php?123-Hello

http://site.com/content.php?123-Hello-How-Are-You

Etc...

--------------- Added 1371821134 at 1371821134 ---------------

I've found this in facebook_functions.php :

$og_array['og:url'] = get_fbcanonicalurl();

Any idea how to construct a CMS URL without the SEO suffix? Just content ID? Thanks!

Zachery
06-22-2013, 09:03 PM
You can't really.

Also, facebook tracks the unique url, so anytime oyou change the url, ofc the like count drops.