[SOLVED] CMS v1.10.3 strange characters appear at end of url

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
beattie
Forum Members
Forum Members
Posts: 98
Joined: Sun Dec 21, 2008 11:35 pm

[SOLVED] CMS v1.10.3 strange characters appear at end of url

Post by beattie »

Have just finished a new website CMS v 1.10.3 (which I duplicated from another website). Pretty urls seem to be working but some strange characters are appearing at the end. This is an example of the type of url I am seeing:

"http://www.domain.com/blog.html#.T0n70PXYHSs

It is happening on every page except the home page. This is the first time I have come across this problem. I have checked and double-checked the htaccess file and the config file, cleared the cache, searched the forum, read the config reference file. I am running out of ideas.

The website is working perfectly, just this strange url which apart from looking odd doesn't seem to affect the site functionality.

I wonder, has anyone else come across this problem?
Last edited by beattie on Sun Feb 26, 2012 9:03 pm, edited 2 times in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CMSMS v1.10.3 strange characters appear at end of url

Post by Dr.CSS »

I would turn off pretty URLs to see if it goes away and look in the .htaccess file to make sure some strange characters didn't get in some how...
beattie
Forum Members
Forum Members
Posts: 98
Joined: Sun Dec 21, 2008 11:35 pm

Re: CMSMS v1.10.3 strange characters appear at end of url

Post by beattie »

Thank you for the suggestion Dr CSS. I already tried that in fact and it didn't go away, the URL just became something like this:

"http://www.domain.com/index.php?page=bl ... 0n70PXYHSs

I have just noticed this though. Each time I click on a page the characters at the end change, e.g.:

#http://www.domain.com/paintings.html#.T0qZIfXYHSs
#http://www.domain.com/paintings.html#.T0qZq_XYHSs
#http://www.domain.com/paintings.html#.T0qZ4_XYHSs

This only happens if I click on one page, then click on another and then come back to it. If I click on the same page twice, the characters go away.

I wonder if it might be something to do with Google analytics code or Addthis code. I've never seen this before.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: CMSMS v1.10.3 strange characters appear at end of url

Post by Rolf »

Hi

What is the url of this website?
You can also PM it if you want.

Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
beattie
Forum Members
Forum Members
Posts: 98
Joined: Sun Dec 21, 2008 11:35 pm

Re: CMSMS v1.10.3 strange characters appear at end of url

Post by beattie »

I found the culprit! It was the Addthis 'Address Bar Sharing' code in the page template. I removed this code:

<__script__ type="text/javascript">var addthis_config = {"data_track_addressbar":true};</__script>

From the Addthis website:
Address Bar Sharing measures when users copy your URL from their browser's address bar and share it with their friends. This will modify your URLs with an analytics fragment.


Others in the Addthis community seem to be having the same problem (http://www.addthis.com/forum/viewtopic.php?f=4&t=36539)

I hope this post hopes someone else as baffled as me, I have spent hours fruitlessley changing the htaccess file, checking the config etc. Oh well, so pleased to have worked it out and thank you for helping!
Post Reply

Return to “Modules/Add-Ons”