• Resolved bazingauser

    (@bazingauser)


    ME again ??
    Would anyone know where the problem is if my registration button redirects to an old URL, please? Previously my hosting messed up and assigned the wrong URL when I purchased a plan. So first, they made it to server.example.com instead of a plain example.com. When it got changed my registration button still points to the old server.example.com URL. my log in buttons redirects to the correct URL, just registration does not… And I do not know where to look for an error.. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Not sure what happen :P, But you can use register_url filter to correct your registration UTL, CHANGE https://google.com with you registration url :

    add_filter( 'register_url', 'wp_346468');
    
    function wp_346468(){
    	return 'https://google.com';
    }
    Thread Starter bazingauser

    (@bazingauser)

    Oh,so hi again ?? please, Sudati – would you confirm where do I add this specific filter? as I said, I really have no idea regarding this one… functions.php again?? ??

    Yes, in functions.php

    P.S. its Sidati not Sudati ??

    Thread Starter bazingauser

    (@bazingauser)

    oopsy ?? hoped you won’t notice ?? joking, a person’s name is the most precious thing to him/her. Please forgive my misspelling. ??
    Oh, am… and it does not work ?? perhaps it’s because I am adding all codes to the child theme? could this be the reason…
    Thank you

    No thats not the issue, just make sure you add the codes in functions.php of your current activated theme (at the beginning of the file just in the line after <?php).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘registration button redirects to an old url’ is closed to new replies.