Here is the solution:
Open the wp-login.php file and edit the next lines:
Line 28:
change this: $redirect_to = ‘wp-login.php’;
to: $redirect_to = ‘/’;
Line 170:
change this: $redirect_to = ‘wp-admin/’;
to: $redirect_to = ‘/’;
Whis this changes, when a user log in and log out will be redirected to the index.
Thanks
PD: I’m using WordPress 2.0.2 under Debian GNU/Linux