• Hello!

    I’m moving wp-config.php outside of wordpress folder, ONE LEVEL UP. For one site is ok, what if a want to move more wp-config.php files.

    here how is the structure:

    root/ wp-config.php for wp1 and is OK.
    …../wp1
    …../wp2
    …../wp3

    what if I want to move also wp-config.php for wp1 and wp2… any chance to rename the wp-config.php :S

Viewing 2 replies - 1 through 2 (of 2 total)
  • … not without hacking core code, as far as I know.

    You might be able to hack wp-load.php and change the paths but I am not sure if the path to wp-config.php is hard coded anywhere else, and you have no guarantees about what various plugins and themes might do. You might be looking at a lot of work and a lot of headaches.

    Thread Starter crossx

    (@crossx)

    I understand, this is what i thought ??

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-config.php outside of wordpress question’ is closed to new replies.