MR.WP
مدیر انجمن وردپرس
سلام به کاربران دوست داستنی
قبل از کد
در
wp-config.php
قرار دهید
۲٫ در public_html پوشه wp-content رو به نام جدیدی که در wp-config وارد کردید, تغیر بدید
موفق باشید
لینک ها تنها برای اعضای سایت قابل نمایش است.
بعد از خواندن این نوشته با استفاده از چند کد خیلی ساده wp-content رو می تونید به هر نامی که دوست دارید تغییر بدید۱٫این کد رو
کد:
[FONT='b yekan'][COLOR=#333333][COLOR=black][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][FONT=Consolas][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333]define(‘WP_CONTENT_FOLDERNAME’, ‘نام جدید’);[/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/FONT][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/COLOR][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/FONT][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/COLOR][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][COLOR=#555555][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][FONT=Consolas][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333]define(‘WP_CONTENT_DIR’, ABSPATH . WP_CONTENT_FOLDERNAME );[/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/FONT][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/COLOR][/COLOR][/FONT]
[FONT='b yekan'][COLOR=#333333][COLOR=#555555][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][FONT=Consolas][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333]define(‘WP_CONTENT_URL’, ‘آدرس سایت’.WP_CONTENT_FOLDERNAME);[/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/FONT][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/COLOR][/COLOR][/FONT]
[FONT='b yekan'][COLOR=#333333][COLOR=#555555][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][FONT=Consolas][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333]define(‘WP_PLUGIN_DIR’, WP_CONTENT_DIR . ‘/plugins’ );[/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/FONT][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/COLOR][/COLOR][/FONT]
[FONT='b yekan'][COLOR=#333333][COLOR=#333333][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][FONT=b yekan][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][COLOR=black][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][FONT=Consolas][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333]define(‘WP_PLUGIN_URL’, WP_CONTENT_URL.’/plugins’);[/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/FONT][/COLOR][/FONT][FONT='b yekan'][COLOR=#333333][/COLOR][/COLOR][/FONT]
کد:
[FONT='b yekan'][COLOR=#333333]require_once(ABSPATH . ‘wp-settings.php’);[/COLOR][/FONT]
wp-config.php
قرار دهید
۲٫ در public_html پوشه wp-content رو به نام جدیدی که در wp-config وارد کردید, تغیر بدید
موفق باشید