Support » Fixing WordPress » changed the wordpress URL and site URL and site is blank

  • My partner went in the dashboard into general settings and changed the wordpress URL and site URL from to by accident… and now we are completely down. Is there a way to get back in and change it?

    I’m not having any luck and dying here… my site has now been down for 3 days and my clients are not impressed.

    is there a way to re-download the software and transfer all of the database and not lose anything? Or can I reset those setting in General Settings?

Viewing 14 replies - 1 through 14 (of 14 total)
  • wheedle,

    You can’t change it back under the same menu option?

    If this is the case WordPress provides a very detailed how-to on this very topic: Look for “If you forget to change the locations” on this page:

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Take a deep breath and give this a read.

    I’m really fond of this method myself but your mileage may vary.

    Before you start poking at the database, consider backing up your files and database.

    i can’t do anything… when i go to my site it’s blank. I wish i could get into my dashboard, but nothing is there. At first I got a error 500.. now nothing.

    Thanks for the quick reply and I’ll give your advice a try…. wish me luck

    You don’t need dashboard access to follow the instructions from Jan.

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    I’d just looked and got the “Database Error”. Someone will have to go onto the host and check that the mysql settings on your wp-config.php are correct.

    Good luck.

    @ Jan – where can I find the wp-cofig.php file? Can I rename the URL there and it will work?

    I went into the theme and changed the URL like this…

    Edit functions.php
    If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

    1. FTP to the site, and get a copy of the active theme’s functions.php file. You’re going to edit it in a simple text editor (like notepad) and upload it back to the site.

    2. Add these two lines to the file, immediately after the initial “<?php” line.

    Use your own URL instead of, obviously.

    But now i can’t log in… it says my passwords are wrong, and won’t let me use facebook log in.

    any ideas?

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Looks like you are making progress, the site comes up and the HTML source is WordPress.

    I’m not sure how the login is handled though. This should work:

    But it’s getting redirected to

    If you know what’s causing that (a plugin?), try disabling it via FTP. See if that gets you to the dashboard.

    i can get to the dashboard now, but for some reason my facebook login isn’t working now

    I get this when i try to sign up…

    so I’m still having trouble with my URL somewhere i guess

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Something is sending you to Facebook for authentication. That’s not working and needs to be disabled. Until you do that, you are not going to be able to get in.

    can you tell me if it’s possible that I download a new version of WP, install the plugins again and theme and transfer the old database over so I don’t lose anything on the site?

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Sure, that’s possible but doesn’t necessarily get you anywhere.

    Right now problem is that you are not able to log onto to your installation. Something is trying to get you to login via Facebook and that needs to be disabled. Once you can login then you can make changes to your WordPress installation as needed.

    If it’s a plugin (which plugin does that?) then backup your files and try renaming wp-content/plugins to wp-content/plugins-old`. That will disable ALL of your plugins.

    I can get into my site now… but the facebook plugin isn’t working. Problem is most of my users use the facebook plugin to access the site.

    right now i get An error occurred with Wheedledeals. Please try again later.

    API Error Code: 191
    API Error Description: The specified URL is not owned by the application
    Error Message: redirect_uri is not owned by the application.

    And I’ve noticed that a lot of my users can’t access the site with thier passwords… almost like the passwords were misplaced with the error.

    When I changed the WP URL did it change the place my files were placed? I’m pretty new to WP

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘changed the wordpress URL and site URL and site is blank’ is closed to new replies.