How to show a block on user/uid but not on user/login and user/registration? I have public profiles for my users at /users/1 etc and show blocks on that page with the setting "Only the listed pages" of "user*".

Now those blocks also appear on user/login and user/registration pages.

How can I exclude blocks from those 2 pages?

Otherwise I'll probably use the Pathauto module to have the user profiles at /profile/....
Enable the PHP module, and use this for block visibility settings:

&lt;?php
return (bool) menu_get_object('user');
?&gt;