Support » Localhost Installs » i have locked myself out of my wordpress! Help!

  • Hi,

    I have just started a wordpress blog and before I’ve even managed to publish it i think I’ve messed it up.

    I changed the url to show my blog domain and now every time i click on anything on the dashboard to try and build the blog it asked me to sign back in or takes me through to my domain providers website.

    Is there any way i can fix this or do i have to try and redo the whole thing.

    Also whilst i’m here, i actually spent the whole setting up the whole blog and for some reason it didn’t save anything. I clicked on save draft when i was done, is there something else i need to do.

    Feel like I’ve wasted my whole day, any help would be appreciated! 🙂

    Thanks,
    Lea

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)


    changed the url to show my blog domain and now …

    – Using FTP/ SFTP , or your web-host’s cPanel or whatever file management application your host provides, access phpMyAdmin on your host, then find your DB, there check the wp_options Table (Note: The table prefix of wp_ may be different if you changed it when installing), and make sure siteurl field and home field are correct. See https://codex.wordpress.org/Changing_The_Site_URL#Changing_the_URL_directly_in_the_database
    – If you don’t feel comfortable messing with the database, contact your hosting provider to help you with this or try other methods described in the aforementioned codex
    If you haven’t already done, always backup your database before doing any actions, just in case something really goes wrong. You can never have enough backups!

    Hi @t-p

    Thanks for this. I am a bit useless at all of this, but i have tried to have a look through the files on MAMP (i’m not sure if that is the same thing?) I have just rang the domain provider 123-reg and they have said i need to get zone file records or name server from wordpress so I can add that to my dashboard on 123-reg. Do you know where i would fine that in wordpress. I am unable to login to wordpress now so i can’t change anything there.

    Thanks,
    Leanne

    Ok, I have now started everything again! I have re-downloaded wordpress, and I can now log on to wordpress and see my dashboard through MAMP.

    My site url still reads – http://localhost:8888/livingfurthur – on both wordpress settings and MAMP.

    123-reg have said i need to point my domain to wordpress, and need to provide them with either zone file records, name servers or IP address in order to do this.

    I don’t want to mess this up again so would appreciate some help. I have read loads of articles and watched you tube videos but still unsure. Do I just need to get one of these, i.e just the name servers and that will be enough for 123-reg?

    But also do i need to do anything on wordpress, either on the dashboard or files. Do i need to change the site URL to my actual website domain in the settings section?

    Thanks so much!
    Leanne

    Moderator t-p

    (@t-p)

    @livingfurthur

    Just leave the urls as there are while you are working within MAMP locally on your own computer 🙂 There is no need to do anything with your hosting provider (123-reg ?) while doing so.

    Once your blog is ready to publish, you can use a plugin such as All In One WP Migration to easily move your local MAMP based WP installation to your live hosting account and it will automatically look after changing all the urls to the proper live ones.

    Cheers!
    Lyle

    • This reply was modified 1 week, 5 days ago by  snifflevalve.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.