- Puanlar
- 35293
- Başarılar
- 8
- New
- #1
Bircogunuz biliyordur eminim ama bilgi tazelemekte yarar varar , güvenlik icin config.php dosyasinin yolu böyle degisir…
AC
wp-load.php
BUL
1 2 3 4 5 6 7 8 9 | if ( file_exists ( ABSPATH . 'wp-config.php' ) ) { /** The config file resides in ABSPATH */ require_once ( ABSPATH . 'wp-config.php' ); } elseif ( file_exists ( dirname(ABSPATH) . '/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) . '/wp-config.php' ); |
DEGISTIR
1 2 3 4 5 6 7 8 9 | if ( file_exists ( ABSPATH . 'wp-includes/guvenlik/wp-config.php' ) ) { /** The config file resides in ABSPATH */ require_once ( ABSPATH . 'wp-includes/guvenlik/wp-config.php' ); } elseif ( file_exists ( dirname(ABSPATH) . '/wp-includes/guvenlik/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) . '/wp-includes/guvenlik/wp-config.php' ); |
BUL
wp-config.php
KLASÖR OLUSTUR
/wp-includes/guvenlik/
TASI
wp-config.php ‘yi guvenlik klasörüne tasi…
———————–
Ayrica wp-config iceriginide ioncube ile sifrelerseniz , iciniz daha rahat olur ben öyle yaptim…
Iyi calismalar.