2015-07-15 2 views

ответ

0

перейти на WP-config.php, в корне WordPress, и попытаться изменить эти две строки, чтобы добавить URL сайта,

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

и откройте файл functions.php и внести изменения ниже,

update_option('siteurl','http://example.com'); 
update_option('home','http://example.com'); 

, а также попробовать эти шаги,

1)Login to WordPress admin dashboard 
2)Click on Settings >> General 
3)Fill in your WordPress Address and Site Address and click Save. 

наконец эти шаги,

1)Backup your database in cPanel prior to making changes. 
2)Use phpMyAdmin to manage your WordPress database. 
3)phpMyAdmin select WordPress databaseSelect your WordPress database from the left. 
4)Then select your wp_options table. 
5)Click Edit beside either the siteurl or home entries. 
6)Enter in your new value in the option_valuie field, then click Go 

enter image description here

enter image description here

enter image description here

enter image description here

в последней попытке сослаться,

http://www.inmotionhosting.com/support/website/wordpress/wordpress-changing-the-site-url-and-home-settings 
+0

Th к сожалению, не работает. Вы можете убедиться сами на моем сайте: https://blog.trekeffect.com –

+0

да он открыл сайт, где эта проблема // – sriharichander

+0

в исходном коде в канонической ссылке на URL –

Смежные вопросы