Yeni Bir Site Aldım W-P Bilgilerini Nasıl Değiştirebilirim ?
16
●760
- 03-07-2014, 02:41:00Hublot adlı üyeden alıntı: mesajı görüntülepm attım halen sorunu çözmüş değilimRoxiRox adlı üyeden alıntı: mesajı görüntüle
- 03-07-2014, 02:47:33geri dönüş yaptım uygularsanız değişecektir.Baris13 adlı üyeden alıntı: mesajı görüntüle
- 03-07-2014, 02:53:23kullanıcı,şifre,mail düzenle ana dizine at çalıştır. Sonrasında zaten yönetici olacaksın. diğer hesabı yazar yaparsın olur biter
<?php // ADD NEW ADMIN USER TO WORDPRESS // ---------------------------------- // Put this file in your Wordpress root directory and run it from your browser. // Delete it when you're done. require_once('wp-blog-header.php'); require_once('wp-includes/registration.php'); // CONFIG $newusername = 'YOURUSERNAME'; $newpassword = 'YOURPASSWORD'; $newemail = 'YOUREMAIL@TEST.com'; // Make sure you set CONFIG variables if ( $newpassword != 'YOURPASSWORD' && $newemail != 'YOUREMAIL@TEST.com' && $newusername !='YOURUSERNAME' ) { // Check that user doesn't already exist if ( !username_exists($newusername) && !email_exists($newemail) ) { // Create user and set role to administrator $user_id = wp_create_user( $newusername, $newpassword, $newemail); if ( is_int($user_id) ) { $wp_user_object = new WP_User($user_id); $wp_user_object->set_role('administrator'); echo 'Successfully created new admin user. Now delete this file!'; } else { echo 'Error with wp_insert_user. No users were created.'; } } else { echo 'This user or email already exists. Nothing was done.'; } } else { echo "Whoops, looks like you didn't set a password, username, or email before running the script. Set these variables and try again."; } ?> - 03-07-2014, 03:23:32http://www.ersinuzgun.com/wordpress-...firlama-araci/
Linkteki dosyayı indir ve public_html içine at. Sonra tarayıcıdan gir ve şifreni değiştir. (site.com/epsifre.php) Ardından dosyayı sil. - 03-07-2014, 03:25:50wp-config.php dosyası yok ftp de bulamadım public html'ye atıp deneyeceğimzego adlı üyeden alıntı: mesajı görüntüle
Hublot ve Özgür hocamız de çözemedi
Edit: Hocam hallettim public html'den çok teşekkür ederim - 03-07-2014, 03:27:49ftp bilgisi verirsen halletmeye çalışayım hocamBaris13 adlı üyeden alıntı: mesajı görüntüle
- 03-07-2014, 03:30:19Yaptım hocam sayenizde teşekkür ederimzego adlı üyeden alıntı: mesajı görüntüle