WordPress “Change URL Settings” Breaks Dashboard

Unable to login or can’t login to your wordpress dashboard, because you changed URL settings, and your blog home page is broken. Usually it will have white blackground without style. This step by step tips is going to fix this dashboard error problem by resetting your wordpress URL in database.

This is common wordpress blog problem if you just changed in dashboard “Settings” then “General” URL settings. What can happen is your blog has white page without css style. And the worst, you can not login to your dashboard with the warning error messages.

I strongly recommend that you do quick database backup before following this Tutorial.

This post is going to fix login problems to your wordpress dashboard because URL changes, the common error message would be;

1. "Warning: is_writeable() [function.is-writable].."
2. "Warning: Cannot modify header information-.."

Here are the fix steps if you have this dashboard error problem:

1. Login to your cPanel, open phpMyAdmin. Choose the database you used to install wordpress.

2. If you are not sure which database you use (in case you have many databases) you may want to go to “File Manager” and open “wp-config.php” file, and see this line:
define ('DB_NAME', 'kimi_wp3db');

Obviously your database name is different than kimi_wp3db.

3. We are back to phpMyAdmin and select the database. Click the database and look for wp_options. You might have different table prefix but in this demo, it is in wpsammy_options.

4. After you click that table, navigate to the first line, “siteurl”. Click the pencil icon to edit.

5. Switch the URL to original URL. In this tutorial, i added “blog” in dashboard URL settings, so i delete “blog” folder name. It goes otherwise if you have original in yourdomain.com/wordpress, for example, then you must add /wordpress in the end.

Click “Go”.

6. Next step is to click the arrow button.  (see image).

8. Now, you will look for the 7th line, where it says “home”. Same as the previous method, click “pencil” icon to edit.

9. Do the same with step 6. Don’t forget to click “Go”.

10. If you done all the steps correctly, you should be able to fix your broken dashboard, by typing yourdomain.com/wp-admin in the browser.

Video Tutorial:

Share the knowledge
Share on Google+1Tweet about this on TwitterShare on Facebook0Pin on Pinterest0Share on Reddit0Email this to someonePrint this page


  1. says

    Hey Kimi,

    Things like this scare me and show me how little I know about blogs!

    Thanks for sharing it, even though I have not had this problem I am sure many blog owners have.

    Sally :)

    • says

      @Sally, Yes, lots of people have this problem, even i am scared too lol. But if we always religiously do backup, it’s already saved :D

      Thanks for coming by Sally.

    • says

      @Merrin, I am glad you got it fixed!

      You know, i am so happy and get encouraged whenever people comment and tell me if it works out for them.

      Thanks for commenting.

  2. says

    I didn’t fix my main problem though – I am trying to remove ‘/wordpress’ from my site URL. It is driving me crazy. I have tried following the codex instructions but I just get lost. And cannot find any kind of video tutorial on the subject. My WP account is hosted with GoDaddy, and I have no idea what a FTP program is or why I would need one.
    Any suggestions would be appreciated.

    • says

      @oren, So glad it was a help! You’re welcome.

      That is awesome and nice of you to recommend this blog Oren, thank you for this.

  3. Miguel says

    This works WAAAY faster:

    1. Locate your “functions.php” (in your theme folder)

    2. Directly under “<?php" in the first line, paste this:


    Save it, log in to your admin. Your site now works!

    3. Back in your functions.php, delete this code once it is fixed. Your site should still work fine.

    You're welcome :)

    • says

      Hello Miguel,

      I have never tried that, but maybe that works too. In this blog, i only give my readers tips that i have ever tried myself.

      Thanks for the great input and nice words.

      • Miguel says

        Anytime, Kimi. I like your blog. I actually found it for this same problem. I tried your method and it worked great, but I had a few co-workers help me find this 3-step technique and found it works as well. Keep up the great work!

  4. anwar says

    Hey Kimi..

    I never usually comment on any site…

    ..But ive never been so stressed about losing something as important as my website.

    your instructions were clear and concise.

    you helped me immensely.
    i only hope those who run into this situation find this tutorial asap!!

    i wish you all the best karma.. :)


    • says

      Hey Anwar,

      I am glad you got it fixed, and i hope the same too :)

      Thanks so much for the encouraging comments and your nice words,


  5. Sajan says

    hello there
    i can’t express how thankful i am to you
    i just messed with the site url of my site. and i got really anxious about it then i hurriedly googled about that and found your article and quickly recovered it. It’s a new site that my brother gave to me.
    Thank you very much once again.

  6. YG says

    Hi – Chris Garrett recommended this link to me and it definitely works and saved my sanity after hours of total defeat!

    Thanks so much!!! I’ll definitely be reading your blog to avoid my many pitfalls in blogging trail and error!

  7. Jon says

    You are kinda my favorite person in the world right now. By far most helpful blog post I have ever read, this saved my blog without a doubt. Youre a total stud!!!

  8. Jon says

    Oh and 1 question: My blog and dashboard went back to normal, but when I click ones of the months in my archives or one of my categories, the links are still broken. Any ideas of why that still is?

  9. Vishal says

    hey..you’re the boss!!! thanks. I thought I had to reinstall and rebuild the site all over again…you saved precious time for me. I really appreciate your helpful tutorial!! Thanks again.

  10. Pengbluzie says

    Thanks a lot!
    I thought my website would be gone forever.
    That solution is totally brilliant and fast to do!

  11. says

    Thank you SO MUCH ! A clear, well explained tutorial to recover access to database and blog…
    You saved me as well !

  12. Al says

    Well, this website is great. Thank-you for taking the time to provide both written and video instructions (I liked the video as it was very clear). I chose a wordpress site as I do not want to know much about websites early on and so I like the way you taught the user to repair the problem with basic knowledge.

    I will take the time to watch your other videos and as I am sure that I will save some time doing so. Once again, thanks for taking the time to broadcast this information.

  13. John says

    Thanks for this fix, I thought I had lost access to my site for ever and that I would have to rebuild my site all over again.

    Thank you again.
    Your guide was easy and very helpful


  14. Kenya says

    HELP, i am desperate!! I have tried both of the things listed here, the post and the suggestion in the comments. It is still rather confusing for me, and it is not working. I think i may not be understanding something clearly. I am trying my hardest to not have to reinstall wordpress and lose all my content! Please help!!!!

  15. Thom says

    Hi, this tutorial has helped me somewhat but I still can’t access my dashboard. I still get the error404. However the site itself has gone back to normal.

    any suggestions.


    • says

      Hi Thom,

      I have checked your URL; I noticed you installed wordpress inside “wordpress” directory, therefore, your admin is in this address:



  16. says

    Many thanks for making this video. It was the only way I could get my blog back online after breaking the url by changing my blog.

  17. says

    Thank you for making this video. It was very helpful in getting my blog back together after breaking the url when I renamed it. Btw, this is the second time I had write this message because I put only my first name in the first time. It would be good to tell users that both a first and last name are required.

  18. Ber says


    I have followed all your steps but still have below error message:

    Parse error: syntax error, unexpected T_STRING in /home/mysite/public_html/blog/wp-config.php on line 1

    Would you have any idea, it is driving me mad!!

    Thank you so much

  19. says

    Followed these instructions and it more or less saved my life (a little over the top maybe). I had been working on a site for a client for some months when all of a sudden – just as we were about to have a sign off / go live meeting – the site went nuts.

    Tried everything to get it back to a functioning state with no joy. Then I googled and found your solution to what I now know is a ‘common’ problem.

    Thanks so much for this post and tut. For ever in your debt.