user2226181
user2226181

Reputation: 173

Removing # and random number from url

I am using AddThis widget for adding social media buttons on the site but there is a problem with it when we put their code in website it added # and random number in the url which is absolutely not good. So i want to remove it, what can i do? Remember when i print the full url using php code it cannot print this # and random numbers it only prints the exact url which i want.

The url after adding addthis widget lookk like that:

http://www.quotewebster.com/topics/193/#.UdFgKNLrzQI

But i want it in that way

http://www.quotewebster.com/topics/193/ 

Please help me in this case.

Thanks

Upvotes: 0

Views: 175

Answers (1)

RickN
RickN

Reputation: 13510

In the addthis_config variable, set data_track_addressbar to false.

var addthis_config = {
    data_track_addressbar: false 
}; 

You can read more about the configuration and the purpose of this hash fragment here.

Upvotes: 2

Related Questions