changed the wordpress URL and site URL and site is blank (15 posts)

  1. wheedle
    Posted 4 years ago #

    My partner went in the dashboard into general settings and changed the wordpress URL and site URL from http://www.wheedledeals.com to http://www.wheedledeals.com/todays-deal 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?

  2. doc4
    Posted 4 years ago #


    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: http://codex.wordpress.org/Moving_WordPress

  3. 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.


  4. wheedle
    Posted 4 years ago #

    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

  5. fonglh
    Posted 4 years ago #

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

  6. 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.

  7. wheedle
    Posted 4 years ago #

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

  8. wheedle
    Posted 4 years ago #

    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 example.com, 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?

  9. 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.

  10. wheedle
    Posted 4 years ago #

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

  11. wheedle
    Posted 4 years ago #

    I get this when i try to sign up...


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

  12. 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.

  13. wheedle
    Posted 4 years ago #

    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?

  14. 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.

  15. wheedle
    Posted 4 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.