Response.Redirect
does not handle nofollow
since that is happening server side.
To get a similar behavior as the no follow you have to insert a 'middle man' page that is a link with nofollow
and contains information to tell the intermediate page which page to redirect to. This is a common practice used when trying to gather information on links to outside sites or intercepting links to add affiliate codes etc.
Eg of link to middle man page:
<a href="redirect.aspx?url=www.google.com" rel="nofollow">Your Link</a>
Then in your redirect page you just pick out the www.google.com
from the query string and do any tracking or whatever you need and then a Response.Redirect
to the url provided.
EDIT: I totally missed the fact that you are using a LinkButton
. Aristos is correct in that spiders will not execute the javascript to do the PostBack
.
http://www.keyrelevance.com/articles/search-engine-listings.htm
JavaScript is a wonderful technology, but it's invisible to all of the search engines. If you use JavaScript to control your site's navigation, spiders may have serious problems crawling your site.
But Google is constantly getting better at it so you never know:
http://www.youtube.com/watch?v=8yTn_HLDaJs&feature=player_embedded
There is no specific standard that says they couldn't do it in the future but it's not easy/likely. If you are really that worried about it, implement something similar to the solution I posted.