ShareThis is rendered inside an IFRAME
, and will use the parent frame's URL to determine the page someone is sharing.
You can add span tags with a st_url
attribute to specify a canonical URL to use for a given page. An example is:
<span class="st_sharethis" st_url="http://sharethis.com" st_title="Sharing is great!"></span>
See here for more details.
As a side note: To improve your search engine rankings you should ensure your site doesn't present two different versions of each page. Search engines may reduce the relevancy of your site in results if this is the case. For example, the content of the following pages (and every other page on your site) are the same:
You need to fix this by choosing whether you want the "www" or not, then using one of the following methods:
- Use a "canonical" meta tag to tell search engines which page is the one you want indexed.
- Respond to requests for the "www" or "non-www" hostname with a 301 redirect to the other.