• Resolved knalstaaf

    (@knalstaaf)


    I’ve already tried this. Didn’t help.

    When I go to the online version, I get a blank page that keeps loading, and eventually putting :8888 after the url (www.domain.com:8888/). When I try to acces the wp-admin, I get redirected to my localhost (https://localhost:8888/)?

    I can’t believe it! What is that?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter knalstaaf

    (@knalstaaf)

    Ok, I locally changed the url of the website and blog in the settings-page of the admin. Now I can’t access my local admin, it doesn’t recognize my password.

    … great.

    Thread Starter knalstaaf

    (@knalstaaf)

    Fantastic, after even changing the pw manually in phpmyadmin (md5), I STILL can’t access, locally nor online.

    Moreover: it makes this strange kind of url: https://www.domain.com/wp-login.php?redirect_to=http%3A%2F%2Flocalhost%3A8888%2Fdomain%2Fwp-admin%2F

    How crazy is that? Does this mean I lost, hold on, EVERYTHING?

    Thread Starter knalstaaf

    (@knalstaaf)

    OK, luckily I’ve made a healthy back up before I uploaded everything.

    I opened the SQL-file and find/replaced all the localhost-parts to https://www.domain.com.

    Now everything seems to work. Don’t have a back-up? Bad news, unless you can still modify it in the online phpmyadmin.

    I suppose I shouldn’t have put the localhost-address in the settings page (as website and blog-url) while the site was still local back then, although that makes sense in a way.

    I did the same thing on my wp.com blog…now I can’t long in to the wp.org admin site. Can anyone help?

    Never mind. Here’s the vid in case anyone else runs into the problem

    https://educhalk.org/blog/?p=68

    Thanks Innyvinny. That video also fixed a different but similar issue for me. I actually needed to change that value in the settings page from “localhost” to the actual url. That video also gave the information I needed in case I messed up typing in the correct url, which thankfully I did not do.

    If anyone else is curious why I needed to do that, it’s because my wordpress site was not loading on any other computer other than the web server.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘My online website switches to localhost when going to wp-admin?!’ is closed to new replies.