Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, @billybob71a
    I just check your website the way you want to be shown URL is looking like that means
    (/wp-login.php?action=register)
    after registration
    it shows in URL after registration is
    (/?register=true)

    if you have still a problem try to clear your browser cache and cookies and deactivate w3 total cache plugin from your WordPress.

    • This reply was modified 6 years, 5 months ago by Jan Dembowski.
    Thread Starter billybob71a

    (@billybob71a)

    Hi,
    Thanks for replying , but actually my question was how do I get the URL using PHP code or wordpress function?

    Peter

    Thread Starter billybob71a

    (@billybob71a)

    OH I think I found it.

    It should be:

    $the_url = $_SERVER[‘REQUEST_URI’];

    Thanks.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Moved to Fixing WordPress, this is not a Developing with WordPress topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘get the URL’ is closed to new replies.