User-Redirect auf Custom Web-Page nach dem Login in Wordpress

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

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.