• I would like to move the wp-config file to another folder. I have tested this, and the main site works fine after the move; however, it breaks wp-admin, and I get error 500. No matter where I move the wp-config to (inside or outside the public_html folder), wp-admin will no longer work. debug doesn’t show anything. I have changed themes and plugins; removed .htaccess for troubleshooting, to no avail. I am guessing (just guessing) that it has to do with APSBATH in wp-config. Can someone point me in the right direction? Thank you.

    path info

    new folder for wp-config
    /home/me/config/

    wp folder with wp-config.php file pointing to above folder/wp-config.php
    /home/me/public_html/

    • This topic was modified 3 years, 1 month ago by jayvalla.
Viewing 1 replies (of 1 total)
  • Dion

    (@diondesigns)

    The wp-config.php file can only be in two locations:

    1) The same directory as the wp-load.php file (main WP directory)
    2) One directory above the main WP directory

    This is documented in the wp-load.php file.

Viewing 1 replies (of 1 total)
  • The topic ‘Moving wp-config breaks wp-admin error 500’ is closed to new replies.