• I moved my site to another account. Was able to import the old wp database using phpMyAdmin. Was told to put correct info into wp-config.php but cannot find it. Where is this file?

Viewing 7 replies - 1 through 7 (of 7 total)
  • I have only been working with wp for three days, but I happen to know that the file is in the root directory of your site. Using phpMyAdmin, I think you will find it under public_html. If you don’t find it, is it possible that you only have the wp-config-sample.php file, and not the “real” one from your old site?

    Thread Starter gfrancisco51

    (@gfrancisco51)

    Thanks for your help.

    I have the same problem. Was the solution as simple as uploading the “real” file to the public_html folder?

    Heya mgregueiro,

    Yeah, for most of us the public_html folder is where webhosts have us install WordPress. If you see folders like:

    • wp-admin
    • wp-content
    • etc

    That is where you want your wp-config.php file. Also unless you manually deleted or changed the name of it, wp-config-sample.php should also be there in the root (public_html) directory.

    Hope that helps.

    Cheers! :)

    Thanks James!

    But I’m still confused :/

    Here is what I am seeing on my cpanel: https://db.tt/wKMB4A3l

    I developed the site offline, and when I go to my original files wp-config.php is present. I just can’t figure out why it isn’t showing up in my cpanel.

    Hopefully the linked screenshot will help contextualize my confusion. I have a feeling that I either uploaded my database wrong or am looking in the wrong place.

    Thanks in advance for your help!

    That’s not cpanel, that’s phpmyadmin.

    What you’re looking at is a list of tables in your database, not a list of files you’ve uploaded.

    You’re looking in the wrong place.

    Heya,

    Yup, fonglh hit the head of the nail. You either need to look in your cPanel app, or if you have FTP access to your site files. wp-config.php is going to be right in the root of your WordPress files.

    Keep after it, you’ll find it!

    Cheers! ;)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Having trouble finding wp-config.php’ is closed to new replies.