رفتن به مطلب

انتقال محتویات پوشه وردپرس در هاست به پوشه دیگر


پست های پیشنهاد شده

باسلام خدمت دسوتان و اساتید

من تمام کارام رو تو هاست مثلا تو پوشه x انجام دادم الان میخوام بیام روت صفحه سفید میاد میشه بگید باید چیکار کنم /

لینک به ارسال

آدرس جدید را بجای http://yourwebsite.com/folder در هر دو خط بزارید و در انتهای فایل wp-config.php اضافه کنید :


define( 'WP_HOME', 'http://yourwebsite.com/folder' );
define( 'WP_SITEURL', 'http://yourwebsite.com/folder' );

لینک به ارسال

اضافه کردم اما بازم نشد


<?php
/**
* The base configurations of the WordPress.
*
* This file has the following configurations: MySQL settings, Table Prefix,
* Secret Keys, and ABSPATH. You can find more information by visiting
* {@link http://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php}
* Codex page. You can get the MySQL settings from your web host.
*
* This file is used by the wp-config.php creation script during the
* installation. You don't have to use the web site, you can just copy this file
* to "wp-config.php" and fill in the values.
*
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', '');
/** MySQL database username */
define('DB_USER', '');
/** MySQL database password */
define('DB_PASSWORD', 'gKL42+g9');
/** MySQL hostname */
define('DB_HOST', 'localhost');
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
/**#@+
* Authentication Unique Keys and Salts.
*
* Change these to different unique phrases!
* You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
* You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
*
* @since 2.6.0
*/
define('AUTH_KEY', '+1-1EIZST8Zj[Z54i|iHTutJa%hFV9(vNqz_cTr,CMF2,O^N)HF#9^m/g;WU*w|c');
define('SECURE_AUTH_KEY', '~]*~zQO`+F.de4I|5OC,L$s,.)#W-5u}7xA.(]uZ`K/<?rA.j5V_ijb7K!7J@AfX');
define('LOGGED_IN_KEY', '1Jb>Q,98?Egb!znAbpD^9b`)b f6wpH5W-l2+DPV+r,M$EIoh;7I*1@<HJE84+lq');
define('NONCE_KEY', 'Y%-cljjA&<M0 ~wR3=lI0-_K1;i`](U,|aEA[?jiFVs5GMjR3hwLG,k>a]V6|G');
define('AUTH_SALT', '/5G?.aC1kKopeksm<9G~X=uN),VFyjNifW<-Hz]~Uy==}O5,&PJG{H$yP#%7_}?I');
define('SECURE_AUTH_SALT', '7T0vC|A4.a$etj^VJ]EpA?MN{7G| A$9Vb_I+P25PV*rC:Z)g}*uIRf4$1y|!}e#');
define('LOGGED_IN_SALT', '6(%7L/a&@m*n8}oBy.V2,bMlz#<;2w&+ah+6<zr(p ]>e}DV./(Iu1u1kK<Bg$-H');
define('NONCE_SALT', 'cupd7MRF~/eom*+Gn>a-9gtQakb+Fm}bp|2G3L Boj6zfMl)TB8c%nF[}Rb1~WZL');
/**#@-*/
/**
* WordPress Database Table prefix.
*
* You can have multiple installations in one database if you give each a unique
* prefix. Only numbers, letters, and underscores please!
*/
$table_prefix = 'wp_';
/**
* For developers: WordPress debugging mode.
*
* Change this to true to enable the display of notices during development.
* It is strongly recommended that plugin and theme developers use WP_DEBUG
* in their development environments.
*/
define('WP_DEBUG', false);
/* That's all, stop editing! Happy blogging. */
/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
define('ABSPATH', dirname(__FILE__) . '/');
/** Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
define( 'WP_HOME', 'http:///wp;
define( 'WP_SITEURL', 'http:///wp;

لینک به ارسال

مقدار home , siteurl را در جدول options دیتابیس به آدرس جدید تغییر دهید

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...