Topic-icon one article - two URLs

Active Subscriptions:

None
11 years 11 months ago #45117 by dageke
Hi, for some reason, our site has allowed two different URLs to each K2 article, with and without "component/k2/". Like this:

www.thailandstidende.com/item/2431-komme...ordeling-og-grunnlov

www.thailandstidende.com/component/k2/it...ordeling-og-grunnlov

Joomla can obviously deal with this and displays the same number of views on both URL, but JFBConnect displays the Facebook comments and likes only on the second URL.

Any ideas how to fix this..?

Best regards
The topic has been locked.
Support Specialist
11 years 11 months ago #45118 by alzander
Replied by alzander on topic one article - two URLs
Unfortunately, this is an issue with Joomla itself. There's no way for JFBConnect to 'know' which one is the canonical (correct) URL. The extension will assume that if the URL is being accessed, it's a proper URL.

There is some logic in JFBConnect to try to guess the best URL for the page, but if there's no menu Itemid associated with the URL or anything else for us to use, we simply use the current URL. In that case, there can be a split between the share count and comments between the different URLs.

Unfortunately, there's no way within JFBConnect that we can fix this. It's also why there's a proliferation of different SEF extensions which fix many of the duplicate content issues of Joomla. There's a project underway as well to replace the core Joomla router with an improved one that shouldn't generated duplicate URLs for the same page. We're excited to see that project move forward with what looks like a release later this summer.

I hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 11 months ago #45192 by dageke
Replied by dageke on topic one article - two URLs
Thanks for the explanation, Alex. I'll follow the news. By the way, I didn't get notification that you had answered my post here... Just a tip.

Dag
The topic has been locked.
Support Specialist
11 years 11 months ago #45196 by alzander
Replied by alzander on topic one article - two URLs
Glad to hear that helped. Not sure why you didn't get a notification. You should be auto-subscribed to each forum you create as long as you leave the "Subscribe" box checked at the bottom of the post.

We'll investigate if there's something else going on though.

Alex
The topic has been locked.