User-Redirect auf Custom Web-Page nach dem Login in Wordpress
Submitted by ivica on Do, 28/02/2008 - 10:15
Automatische Übersetzung des Blogs finden Sie hier:
User-Redirect auf Custom Web-Page nach dem Login in Wordpress => Deutsch
When user login to Worpdress by default WP will redirect him to wp-admin page, which is ok by default but can't be changed anywhere in WP options.
Solution is actually easy. Just create login link with redirect_to GET parameter like this:
http://your_wp_site/wp-login.php?redirect_to=page_you_want_to_redirect_user
So if you for example want to redirect user to home page after login you should create link with this target:
http://your_wp_site/wp-login.php?redirect_to=index.php

Kommentare
Kommentar hinzufügen