What I did was copy the files, all of them from the old site to the new one, both sites on same server.
Then I changed the domain url on config.php
I also cleared the cache with php flarum cache:clear

The issue

The site displays perfectly well on the new domain but I can't login: "Your login details were incorrect"
If I do recover password: "Oops! Something went wrong. Please reload the page and try again."

These credentials work fine if i access trough the old domain, so basically i moved the files but since the database is already there i kept the same db name, user and pass. There's no point moving it.

What am i missing here?

  • clarkwinkelmann replied to this.
  • User31 likes this.
  • clarkwinkelmann I tried firefox and i was able to login.
    Guess what? The WP username was the same as the flarum username.
    So when i picked the saved password it was WP password not Flarum's.
    Chrome doesn't distinguish between the passwords for /wp-admin/ and /community/
    Should i change username to retain sanity?

    clarkwinkelmann I tried firefox and i was able to login.
    Guess what? The WP username was the same as the flarum username.
    So when i picked the saved password it was WP password not Flarum's.
    Chrome doesn't distinguish between the passwords for /wp-admin/ and /community/
    Should i change username to retain sanity?