Hello, I have a website where I want premium members to have SEO links but, just to check if that link does not go to any phishing site, I have put a logger (to secure my users). Now. The question is: I have rel=dofollow but onmousedown redirects it to a page (on my website) where that page is check using CURL and then, redirected to that page. So, href=example.com title=example rel=dofollow mousedown=function(first go to my site then to example.com) Will it affect their SEO by any chance? will my site still be considered as backlink? PS: My site has input sanitizer which by default puts, rel attitube. If non premium members it is nofollow and for premium members it is dofollow.
Yes - the link will still be counted as a followed link. However rel=dofollow is pretty non-standard. I would recommend that for your followed links you just leave off the rel attribute.
I cannot leave off the rel attribute, actually, am in midst of what you call as, 'JS mess'. so, rel has to be there. Does google totally ignore rel (well I guess people know as much as I know about what google crawlers actually do) am confused...
It doesn't matter terribly then - Google will just ignore rel='dofollow' because it doesn't mean anything. But it is unncessary and non-standard from an HTML point of view. Won't do any harm I expect. Google will only pay attention to rel attributes it understands, like rel='me', rel='external', rel='nofollow' etc. Of course, one thing to bear in mind, if you think your users are going to be posting links to spammy sites and you're making some of them dofollow, then you're likely to be penalised for linking to bad neighbourhoods - unless you police the links.
First and foremost, there is no such thing as do-follow link. You can't command a search engine to follow a link.
For it doesn't matter if its do follow or not, it still count but will just pass link juice for PR purposes... I also consider direct links rather than redirect url.
Both rel=nofollow and "do-follow" (no preference) link will have effect on SEO, but,.. nofollow will not have effect on their PR.