• Resolved punkypunkin

    (@punkypunkin)


    I created a new wp website, but a few days ago, I can’t log in my page.
    It redirects to wrong IP address that I’m trying logging in, finding password, whatever.

    for example, when I tried to log in, it redirects to my office router,
    or if I using the mobile network such as LTE, it redirects to Telecommunications company’s IP.

    So I added definitions for following to wp-config.php

    define( 'WP_SITEURL', 'https://oreumcompany.com' );
    define( 'WP_HOME', 'https://oreumcompany.com' );

    and checked wp_options table again,
    but it doesn’t matter.

    What should I do?
    Sorry to bad English, so if you need more informations, please tell me.

    Thank you for helping me.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello!

    I can’t seem the replicate the issue. The page loads fine for me. Have u tried incognito mode in your browser?

    Thread Starter punkypunkin

    (@punkypunkin)

    @disillusia Hello.

    Yes, It also in incogninto mode.

    Log in page always loads fine, but after clicked Log-in or Get new password button, it redirects wrong IP address.

    • This reply was modified 5 years, 6 months ago by punkypunkin.

    Hi @disillusia,

    I have checked the website in question and also the wp-login.php page and they both load fine for me.

    I can see that the website is loading at the following IP address: 183.111.199.209.

    Could you please check your DNS records and check if the point to the proper IP address of 183.111.199.209?

    Also, what you could do is to clear your DNS local cache by opening “terminal” and typing ipconfig /flushdns

    Or on MacOS open “terminal” and type sudo killall -HUP mDNSResponder

    After this you could try to visit your website and check if you are able to see the login page.

    Kind regards,

    Thread Starter punkypunkin

    (@punkypunkin)

    Hi @vladimirtana.
    Thanks for your kindness answer.

    I followed your answer, but there’s no changes.

    I tried logging in again, the WordPress until redirects to 61.32.118.xxx which is router located in my office.

    I already commented, /wp-login.php page loaded fine. The real problem is next step.

    1) hompage loading – Fine.
    2) /wp-login.php – Fine
    3) Login process(Clicked login button) – Redirection problem

    It is very WEIRD, because if I using mobile network, the WordPress redirects different IP address not above, so I think it is related with WordPress configuration, it seems that redirects to client’s IP address not the domain name.

    Please try login process,
    it redirects wrong though you wrote a wrong account information.

    Thank you.

    • This reply was modified 5 years, 6 months ago by punkypunkin.
    Thread Starter punkypunkin

    (@punkypunkin)

    Oh, I found the answer.

    I found this website,
    How to Fix WordPress Login Page Refreshing and Redirecting Issue

    It related with .htaccess file. But I didn’t edited that file, anyway, I removed that file and I can log in.

    Thank you everyone!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My wp site redirects to wrong address’ is closed to new replies.