0

The url of my product pages is now garbled. A sample link:

http://www.chouchoudress.com/product/fabulous-asymmetrical-ruffles-prom-graduation-dress-with-one-crystal-straps.html#.UR-CjfKptdt

The garbled addition to the link is #.UR-CjfKptdt specifically some sort of code preceeded by #..

Can anyone tell me why?

2
  • 2
    ...perhaps the referring context will be more helpful?
    – benmarks
    Feb 16, 2013 at 13:23
  • 1
    Another Magento website owner who has tripped and fallen flat over using AddThis for putting social disease buttons on their website. Feb 17, 2013 at 3:22

1 Answer 1

2

You’ve started using AddThis for your social networking and weren’t warned of the implications of using their social link tracking feature.

AddThis adds hash snot (#. and an identifier) to the end of your URL to enable tracking links pasted from your website into blog articles, comments, etc. which then breaks functions in Magento.

Remove the hash snot with a simple change to the inserted AddThis javascript snippet.

Find the line in the AddThis javascript snippet with data_track_addressbar and remove it. This shuts off the hash string for tracking pasted links.

1
  • Glad to be of help, the #. junk had a weird effect on my dev server till I tracked it down. The bosses wanted the buttons, fortunately I didn't go live with the template with the code AddThis spit at me or we'd have had cussing customers... Not a good thing. Feb 22, 2013 at 7:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.