Button links to strange URL

smits.jm Feb 21, 2012 05:44AM EST

I added social media buttons to my website (www.jansmits.eu), but when clicking them they refer to the following:

'http://www.jansmits.eu//Home_Jan_M._Smits_files/widget1_markup.html#.T0N0otVdCz0.facebook
http://www.jansmits.eu//Home_Jan_M._Smit...'

They should refer to 'www.jansmits.eu'

How do I remedy this problem? Many thanks.

Up 0 Rated Down
Sol (AddThis Happiness Specialist) Feb 21, 2012 10:39AM EST
I notice you have the following JavaScript in your page:

<script type="text/javascript"><!--//--><![CDATA[//><!--
var widget1_htmlMarkupURL = ".//Home_Jan_M._Smits_files/widget1_markup.html";
//--><!]]></script>

If possible, I would remove this block and see if that resolves your issue. And let me know if you still have issues with it.
Up 0 Rated Down
smits.jm Feb 21, 2012 12:14PM EST
Many thanks for your jelp. I am afraid I cannot find this piece of JavaScript. I do have this part:

<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-4f4244fb0659cca5"></script>

When I remove this, nothing shows at all on the site. If you could help out, this would be great.



Up 0 Rated Down
Sol (AddThis Happiness Specialist) Feb 22, 2012 08:18AM EST
That's interesting. I don't even see the code that you listed in the source for your page. Just to make sure I am looking at the right page, which page did you find that code on? I have been looking at this page:

http://www.jansmits.eu/Home_Jan_M._Smits.html

I notice a lot of reference to "iWeb" - is that part of the website provider? It's possible they might need to make the change for you or help you figure out how to change the block of code I mentioned earlier.
Up 0 Rated Down
Sol (AddThis Happiness Specialist) Feb 23, 2012 12:36PM EST
I just noticed we added a new article referencing iWeb, so I wanted to pass this along in case it helps.

http://support.addthis.com/customer/portal/articles/360863-using-addthis-with-iweb

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Reference