Wordpress host IP changed

前端 未结 7 1499
抹茶落季
抹茶落季 2020-12-08 00:32

I\'ve got a Wordpress site on our home intranet that has run into trouble now that the IP address has changed - The index page loads, but not the CSS and I can\'t log in to

7条回答
  •  半阙折子戏
    2020-12-08 01:23

    You have to change the 'home' and 'siteurl' in the settings. Since you cannot open the admin side of wordpress, open the database in phpMyAdmin(or something similar).

    The options can be found in the 'wp_options' table(wp_ prefix might be different). Find the necessary setting using this query...

    SELECT * FROM `wp_options` WHERE `option_name` IN ('siteurl', 'home')
    

    Change the values of both the options to the new IP.

提交回复
热议问题