Wordpress-Login mit Plugin 'Theme My Login'

If, as a web designer, you want to change the default page displayed after a successful WordPress login and are using the "Theme My Login" plugin, you do not need to search through wp-login.php in the installation directory to modify the $redirect_to variable.

Instead, it is sufficient to change the following assignment in \wp-content\plugins\theme-my-login\includes\class-theme-my-login.php as desired. For example:

$redirect_to = admin_url( 'profile.php' );

can be changed to redirect users to the blog's homepage:

$redirect_to = get_bloginfo( 'url' );

... back to the blog