Twitter button on a Github hosted site with custom domain


#1

I run my blog on http://beletsky.net, which is Octropress driven static site. I have a twit-button on each post, it works fine - but, instead of showing “http://beletsky.net/post” link, it goes for “http://alexanderbeletsky.github.io/post”. DNS forwarding works great there, but what bothers me is counter: it does not count links to “beletsky.net”, so I have “0”-z everythere.

Are there any way, to specify the “base” root twitter button should use?


#2

Your website already specifies the URL to tweet and to count using data-url and data-counturl (though as they are the same only data-url is needed).
But they both specify your github.io URL.


#3

Thanks, now I can see the problem. It’s fixed!


#4