redirect after login
in \wp-content\themes\ideas\form-login.php replace this line (46 on my site)
1 |
<input type="hidden" name="redirect_to" value="<?php echo esc_attr( $redirect ); ?>" /> |
with this one
1 |
<input type="hidden" name="redirect_to" value="http://domain.com/redirect_page/" /> |
redirect on logout
in \wp-content\themes\ideas\includes\header.php replace get_permalink() in this line (32 on my site)
1 |
'logout' => html( 'a', array( 'href' => wp_logout_url( get_permalink() ) ), __( 'Logout', APP_TD ) ), |
with the redirect url like this
1 |
'logout' => html( 'a', array( 'href' => wp_logout_url( 'http://domain.com/redirect_page/' ) ), __( 'Logout', APP_TD ) ), |
redirect after registration
in \wp-content\themes\ideas\form-registration.php replace this line (73 on my site)
1 |
<input type="hidden" name="redirect_to" value="<?php echo esc_attr($redirect); ?>" /> |
with this one
1 |
<input type="hidden" name="redirect_to" value="http://e-picus.com/aplicatie/proiecte/chestionar-videointerfon-security/" /> |