Firefox and Safari - garbage added at end of URLs

Permalink
I'm hosting a couple of websites using concrete5 where every page (aside from the home page) has the same problem. IE and Chrome work fine, but Firefox and Safari both show some extra characters added to the end of each page's URL. For instance, when I try going to unicomglobal.com/divisions, it takes me to the correct page, but "unicomglobal.com/divisions/#.UARjN463XrU" displays as the URL in the browser window. (Please see attached image.)

I do have pretty URL's enabled on both of these sites. I also have a couple of sites that seem to be set up identically but that do not exhibit this problem.

Has anyone run into a similar issue?

1 Attachment

 
wagdi replied on at Permalink Reply
wagdi
I'm not sure why this is happening but I noticed that when I click on the same link a couple of times, I dont get the 'garbage' at the end of the url.

So if I click on 'News' (the first time); I get this- http://www.unicomglobal.com/news1/#.UASJFxwSb2o...

If I click on 'News' (a second time); I get- http://www.unicomglobal.com/news1/... .

This applies to every page.

It may be worth posting your environment here for someone to check it out or even try opening a ticket with the hosting company for more information.
andrew replied on at Permalink Reply
andrew
Try disabling your javascript. It fixed it for me. I think this is a result of some third party library you're embedding. I notice you have "addthis" code in your page. Try removing some of that code piecemeal from your templates and you should ultimately get to the culprit. I would start with Addthis.
weatherfeller replied on at Permalink Best Answer Reply
Thank you, Andrew! Yes, it turns out the AddThis button is the culprit. However, it's not necessary to remove the widget. The garbage that is getting appended to the URL is part of AddThis' clickback tracking. This discussion explains the problem, and points out that you can either have the tracking feature OR pretty URLs, but not both.

http://www.addthis.com/forum/viewtopic.php?f=3&t=34119...

I chose to turn off the tracking functionality. In the HTML code that you're embedding for the AddThis button, change the entry under "data_track_addressbar" from true to false. The variable might be a slight variation on what I listed.

<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>