URL changed to www and Twitter counter reset


#1

Hi folks.

The url of my blog has changed to “www” in start and the counter button reset old posts.

Can I restore the numbers of tweet button? I am using the Twitter official tweet button.
Here is my syntax:

<a href="https://twitter.com/share" class="twitter-share-button" data-via="oSProfanos" data-url="<?php the_permalink() ?>" data-text="<?php the_title_attribute() ?>" data-lang="pt">Tweetar</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>

Do help. Thanks.

Name: Adan
Blog: http://www.osprofanos.com/


#2

#3