redirect to page is 2 concatenated bad addresses
-
When I login and then delete a test account, I get redirected to this
/membershipsignup/:/cookdotcom.com/membershipsignup/My Delete Me redirect url is blank
?possibly the changes for SSL Really Simple SSL
or other .htacess rules like : RewriteCond %{REQUEST_URI}
are playing in or a conflict with s2Member or Persistent Loginsee menu item membership – membership sign up – register
after it registers you
see menu item membership – delete Membership
to reproduceI echoed a view variables from file delete_user.php
// Redirect to same or landing URL
$shortcode_landing_url = isset( $this->GET[$this->info[‘trigger’] . ‘_landing_url’] ) ? $this->GET[$this->info[‘trigger’] . ‘_landing_url’] : $this->option[‘settings’][‘shortcode_landing_url’];
echo ‘short :’. $shortcode_landing_url . ‘<BR>’;$same_url = remove_query_arg( array( $this->info[‘trigger’], $this->info[‘nonce’], $this->info[‘trigger’] . ‘_landing_url’ ), $_SERVER[‘REQUEST_SCHEME’] . ‘://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’] );
echo ‘same:’ . $same_url . ‘<BR>’;echo ‘option:’. $this->option[‘settings’][‘your_profile_landing_url’] . ‘<BR>’;
exit;is_admin() ? wp_redirect( ( $this->option[‘settings’][‘your_profile_landing_url’] == ” ) ? $same_url : $this->option[‘settings’][‘your_profile_landing_url’] ) : wp_redirect( ( $shortcode_landing_url == ” ) ? $same_url : $shortcode_landing_url );
The RESULTS
short:
same: //cookdotcom.com/membershipsignup/
option: https://cookdotcom.com/membershipsignup/Its really hard for me to follow what you want to do with this many nested ternary operators
If you tell me what you want, I will rewrite so mere mortals like me can follow it.
The page I need help with: [log in to see the link]
- The topic ‘redirect to page is 2 concatenated bad addresses’ is closed to new replies.