Get your own customer support community
 

Wrong Comments Appearing on Posts / Wrong Comment Count - tied to inclusion of WWW. prefix on links

Hey all, check your Article URLS and POST_ID and POST_URL fields of the Comments Link. For us the problem seems to lie with the inclusion of the prefix - www. on these links. SEE BELOW -
--------------------------------------------------------------------------------------------
Alright, I think I see what's going on. The problem seems to be tied to the inclusion of the prefix www. on the article URL and the post_id and post_url fields of the Comments Link. To see what I mean check out the comments sections of the following articles-

http://highcountrypress.com/weekly/20... - CORRECTLY LINKED COMMENTS
http://www.highcountrypress.com/weekl... - INCORRECTLY LINKED COMMENTS

only difference between the links is the www. prefix.

How to resolve - ???????? Please HELP!!!!

To see this problem as it affects the COMMENT LINK/COUNTER check out these pages -

http://www.highcountrypress.com/weekl... - CORRECTLY LINKED COMMENTS TO THE FIRST STORY
http://www.highcountrypress.com/weekl... - INCORRECTLY LINKED COMMENTS TO THE FIRST STORY

if you look at the source code of the above urls, you'll notice the problem lies in the inclusion of the prefix - www. in the post_id and post_url fields of the Comments Link Javascript Code as shown below -

CORRECTLY WORKING CODE -

var idcomments_acct = 'XXX-your-account-number';
var idcomments_post_id = 'http://highcountrypress.com/weekly/2009/08-20-09/farm_city_celebrations.htm';
var idcomments_post_url = 'http://highcountrypress.com/weekly/2009/08-20-09/farm_city_celebrations.htm';

INCORRECTLY WORKING CODE -

var idcomments_acct = 'XXX-your-account-number';
var idcomments_post_id = 'http://www.highcountrypress.com/weekly/2009/08-20-09/farm_city_celebrations.htm';
var idcomments_post_url = 'http://www.highcountrypress.com/weekly/2009/08-20-09/farm_city_celebrations.htm';

only difference between the 2 is the inclusion of the prefix www. How to resolve - for now just removing the prefix www. from all post_id and post_url fields...
 
sad I’m frustrated, confused, sad
Inappropriate?
1 person has this question

User_default_medium