WordPress.org

Ready to get started?Download WordPress

Forums

'Crossed' or Misdirected Directory (4 posts)

  1. thomasradkins
    Member
    Posted 8 years ago #

    I installed WP at /mercy & at /wordpress. I messed up /wordpress & attempted to restore the files using FileZilla, but stupidly restored the /mercy To the /wordpress directory. Now when I attempt to access the Dashboard at /wordpress/wp-admin/index.php, it takes me to the /mercy directory & dashboard instead. I checked the PHPAdmin and the DB is still good with the posts, etc., but I everything on the page is coming from the OTHER DB. Anyway I can 'reset' or restore, or must I dump the old DB?

  2. Chris_K
    Member
    Posted 8 years ago #

    Does wp-config.php point to the proper database and database prefix?

  3. thomasradkins
    Member
    Posted 8 years ago #

    I'm not sure, but if I try to access wp-config.php, it says
    ".../public_html/wordpress/wp-admin/wp-includes/wp-db.php): failed to open stream: No such file or directory in .../public_html/wordpress/wp-admin/wp-settings.php on line 59"
    If I try to run install again, it says I must delete the old DB. I was hoping to find a way to 'reset' whatever pointer there is. Pretend I'm a dummy (not far wrong) if you can explain how to go about it.
    ((Thanks for your quick response.))

  4. Chris_K
    Member
    Posted 8 years ago #

    Don't run wp-config.php. Edit it. Use a shell account or your favorite FTP client.

    http://codex.wordpress.org/Editing_wp-config.php

Topic Closed

This topic has been closed to new replies.

About this Topic