it is wise for you to do it
It is wise of you to do it
which is correct?
If both are correct, is there any difference?
With your examples, I would say both are OK, but have a bit of different meaning.
The first "It is wise for you to do it..." means the speaker/writer is expressing opinion about the course of action itself, not necessarily speaking about the person being spoken to, the doer.
The second "It is wise of you to do it..." means that the person spoken to is wise themselves. I like the first one personally. It sounds the most natural.