How to?

I dont know if this is correct forum for this question.
How to place link only on homepage and not in any other page (such as categories or posts) in wordpress blog?
Thanks in advance for help.

probably go to the index.php and place the link there

I could do it after doing Google search. Here is how it should be done:
Just add the code below to your cpanel: WP-content<theme<sidebar.php (or where you want it)
<?Php if (is_home()){
echo ‘<a href=" your link url">Your anchor</a>’;
Hope it helps somebody.

<?php if(is_home() && $post==$posts[0] && !is_paged()) { ?>
<?php } ?>

try putting that in your sidebar should do the trick