Support » Fixing WordPress » Can't access wp-admin after changing url to the website

  • Resolved Charles599


    Good morning everybody,
    This morning I’ve tried to change the url to my wordpress website from into
    I probably made a mistake by doing it directly from the settings panel in wp-admin.

    I can’t access either the blog (i have still something with but the css seems not to be taken into consideration anymore) or wp-admin anymore (neither with nor with, etc).

    Could you please provide me with a solution to access wp-admin and reset the url ?

    Thank you very much.


Viewing 15 replies - 1 through 15 (of 18 total)
  • I seem to have the same sort of problem only with fewer setbacks.

    I migrated my wordpress installation from /site/ to root. I changed my sites URL through the admin panel.

    Now the wp-admin login seems bugged. I cannot login with my credentials ( when I try to, the page reloads with no error ). Then when I reset my password, it DOES let me login with the new password. Only once.. after I logout again I have to reset the pass again to login. Very annoying..

    You are actually moving WordPress within your site and it can not be done from your admin dashboard.
    Take a complete backup of your WP folder from cPanel and download to your local computer.

    Now check this link on how to do this Moving WordPress Within Your Site .

    I will suggest you to check this post because you are unable to access your dashboard.

    I did check that link before I started moving, and did the move accordingly. I guess my post above wasn’t too clear.

    Everything works fine after the move. I had to change a few urls here and there to get images working but overall the blog is running 99%. The final 1% is the admin login.

    Tried creating a second admin user but that doesn’t let me login either..

    vincex86 ~ Your issue is different. It sounds as if you didn’t change the path in the wp-admin for your site…

    Charles599 ~ It sounds as if you should have changed the folder your domain name links to and only that….Have point to your wordpress folder & you should be good to go

    I did change the links..

    vincex86 ~ Make sure you are trying to access…

    Make sure there is no .php there. Let me know if that works

    I solved it.. in the Site Adress URL option I put instead of, that’s why it wasn’t taking my password.. thanks for the help though!

    Thank you everybody! Now it works.
    Happy to see that you have solved your problem as well vincex86!

    Hi there,
    I seem to have done the same thing as Charles 599. I tried to change the URL in the Admin settings (but not move any files) and now I can’t access wp-admin. I can see the pages in the subdirectory but no CSS is applied to them.
    Do you know how Charles fixed his to see the dashboard once again and fix the path to CSS??

    Thank you so much I am desperate!!!

    Yep I do know how i fixed this! hehe.
    You have to go in your database, with PhpMyAdmin, or whatever your hosting service provides you with. Then you have to find the good way (I cannot remember it at the moment) to access the fields (I think there are 2 or 3 of them, all in the same ‘folder’) which are exactly the same that the ones you have changed form the admin. Just fill them back with what was in them before you made the change.
    Don’t worry it’s not that complicated, find something called settings or that kind of things in your database and you should soon find out what I’m talking about!

    Good luck!

    If you domain originally worked at and you changed the domain settings to Then, you can access your wp install through Providing, is set up to point to your WP folder on the server.

    If, however, your change is not intentional, the follow charles599’s advise to get back in to your site.

    Just wanted to say that my issue was resolved w/ the interventions of the WP Girl who discovered that somehow (in the process of trying to enter a new site name in the interface?) I had caused a bogus URL to be entered into my database. So she fixed everything! Then she gave me the most concise, excellent directions for pointing my domain to the WP installation in a sub-directory (in this case NOT MOVING WordPress but just “pointing” to it). Here are the directions – they worked flawlessly. Thank you all for the kind help!

    For the benefit of anyone else who stumbles on this thread by mucking up their site URLs in the Settings -> General section, you easily revert it back by accessing your MySQL database, accessing the “wp_options” table and you will see the “siteurl” row with the value of your site url listed likely right in the first row. Hit “Edit” change it back to what it should be, and you are good to go. Thanks all for a great thread!

    I moved my index.php to the root and kept all my other WP files in the same place. I then went to change the url in the admin page and put wordpress address and blog address to “”. All hell broke loose. My website displayed text gobbledy-gook, and I couldn’t access wp-admin any.

    I went to my web host company, and we restored all the files back to when everything was still working. That didn’t fix anything, so we deduce that it must be a change in the database.

    I went into myphpadmin as suggested and changed the first row to my original URL. That fixed the content problems, but now I have the text gobbledy-gook showing up at the top of my webpages, and I still can’t access the wp-admin page.

    Are there more fields that need to be changed in myphpadmin?

    Thanks clifhirtle!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Can't access wp-admin after changing url to the website’ is closed to new replies.