Support » Localhost Installs » localhost wp-login keep redirecting to online site after log in

  • Resolved xulhan

    (@xulhan)


    Hi i’m having an issue logging to my adminpage on localhost
    at first i change my site url on localhost, then the site is broken
    So i change back using this method here
    then admin page keeps redirecting to online site’s admin page
    i can’t use this localhost/wordpress/admin to get to local site log in anymore
    So i have to use this url localhost/wordpress/wp-login.php to get to local admin page
    But when i presses log in, it keeps going to online site again

    i can’t get to my backend on localhost at all
    and when i log in to wamp phpmyadmin, i also can’t find my wordpress database name

    Can anyone please help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • problem solved i edit both wp-config and functions.php
    now i can get to backend

    about database i think i’ll leave it
    can use all in one migration to backup instead

    Sajjad Hussain

    (@sajjadhussain2509)

    It was migrated site?

    yep i began it online first and didn’t published anything
    then i thought i should migrate it to localhost for testing and revising my articles before publishing online

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.