wp-load.php dosyasını açıyoruz.
yeniyer yazdığım yerleri kendinize göre tamamlarsanız işlem bitmiştir.
PHP:
if ( file_exists( ABSPATH . yeniyer/wp-config.php) ) {
/** The config file resides in ABSPATH */
require_once( ABSPATH . yeniyer/wp-config.php );
} elseif ( file_exists( dirname(ABSPATH) . yeniyer/wp-config.php ) && ! file_exists( dirname(ABSPATH) . /wp-settings.php ) ) {
/** The config file resides one level above ABSPATH but is not part of another install*/
require_once( dirname(ABSPATH) . yeniyer/wp-config.php /wp-config.php );