• Resolved minh4441

    (@minh4441)


    I have login into my admin account , go to my profile but the redirect link for the password update or view profile in the side bar to the left didn’t work at all , they all lead me to 404 page , but if i add “/” in between them they will work
    For example : if i press password it would lead me to : {mywweb}//edit-accountpassword
    if i add an “/” between account and password {mywweb}//edit-account/password it will work normally , are there any ways to fix this ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @minh4441

    What are your permalink settings?

    Usually a permalink would have a “/” at the end, and so WPUM does not check whether a / at the end of the url exists or not, it’s assuming your permalink setting has it. Does your permalink setting have an / at the end?

    Let me know.

    Thread Starter minh4441

    (@minh4441)

    This is when i click on edit profile and then password

    View post on imgur.com


    This is my permalink setting

    View post on imgur.com

    Plugin Contributor Alessandro Tesoro

    (@alessandrotesoro)

    Hi @minh4441

    Add this code to your theme’s functions.php file, it’ll solve your issue.

    
    function wpum_adjust_account_tab_url( $url, $step ) {
    
    	if ( $step !== 'logout' && $step !== 'view' ) {
    		$url = get_permalink();
    		$url = trailingslashit( $url ) . $step;
    	}
    
    	return $url;
    
    }
    add_filter( 'wpum_get_account_tab_url', 'wpum_adjust_account_tab_url', 10, 2 );
    
    Thread Starter minh4441

    (@minh4441)

    Thank you that solved my problem ^^

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Password update and profile view and account setting didn’t work’ is closed to new replies.