• Hi,

    I was trying to edit my website, unfortunately I add a “s” on my website url “www.mydomains.com.au” instead of “www.mydomain.com.au”, so now I couldn’t get in my website through /wp-admin.

    Can anyone give me a help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Tomyang,

    Do you have access to the actual files on your website, like through your webhost’s File Manager or something?

    If so, you can hard-code the website URL in your wp-config.php file, which will ignore the incorrect value you put in the Settings > General.

    These are the relevant lines you would want to add:

    define('WP_HOME', 'https://digwp.com'); // no trailing slash
    define('WP_SITEURL', 'https://digwp.com');  // no trailing slash

    More info in case you’re curious:
    https://digwp.com/2010/08/pimp-your-wp-config-php/#settings

    Hope this helps!

    Thread Starter Tomyang

    (@tomyang)

    Hi Paul

    Thank you so much for your post, I fixed that by following your instruction. That is great help! I very appreciated that.

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Could not login after change url by mistake’ is closed to new replies.