Remove ShareThis #sthash Tag Ending With URL

Remove ShareThis #sthash Tag Ending With URL
In last post I've explained "How To Add Sharethis Social Share Widget To Blogger" but soon I found that when I copied a text from my another Blog I got the URL Ending Attribution, like below image.


Remove ShareThis #sthash Tag Ending With URL

Many Bloggers are facing this critical issue, This really critical as its not pleased by many bloggers.

Why This #sthash tag occurs ?


This tag is mainly developed for tracking the URL sharing on various Social Networks, so every time anyone copies your blog content there he gets the URL ending with #sthash and extension with .dpuf or .dpbs

I googled too much for the solution but I didn't get anything , finally I got it from Sharethis Support Centre.


You can See many bloggers have said that find this word "stLight.options" of widget script in template above </head> and replace the whole script with the following script,

<script type='text/javascript'>stLight.options({onhover:false , doNotHash: true, doNotCopy: true, hashAddressBar: false});</script>
Did you ever did this? Don't Do above procedure. You will find many Bloggers have posted above method for solving this problem, but actually when you do this your Sharethis Social Share widget fails immediately.

Now What Does ShareThis Support Centre Says ?

Due to enabling Copy n Share function on your widget, you are getting such #sthash tags.

Remove ShareThis #sthash Tag Ending With URL

 Its very simple, just follow these simple steps :
1. Go to Blogger > Dashboard > Template
2. Click Edit HTML .
3. Find this code </head> after that find this word of code by pressing CTRL+F "stLight.options"
4. After finding the above code, you will see something like below script,
<script type='text/javascript'>stLight.options({publisher: "xxxxxxxxxxx-xx-xxxx"});</script>
5. You will see Publisher ID there, don't remove anything from this script, just add the , hashAddressBar:false code just after publisher: "xxxxxxxxxxx-xx-xxxx" I've explained in below code.
<script type="text/javascript">stLight.options({publisher: "168fe05d-a490-44f1-91b8-e1f5c9cb131d", hashAddressBar:false});</script>
6. Now you can see Publisher ID there, its my publisher ID , every ShareThis Widget has different Publisher IDs, Just see what I've placed there.
7. Save Your Template, That's it ! You are Done Now !
Don't forget to Share This post and You can Also Subscribe for Latest Blogger, Tech Updates.
Join Us !

Our Recommendation : CSS Social Share Buttons For Blogger

Want More Fun? Join TechEthix