Raspberry Pi / Debian server configuration after IP change WordPress

Raspberry Pi / Debian server configuration after IP change WordPress

I. Introduction

Previously realized Raspberry Pi / Debian LAMP Web Server to build and set up WordPress blog (two) , but when the IP changes Paspberry / Debian, and how to restore WordPress services?

1. Problem Description

  • After changing the IP address, WordPress website is still accessible, but the effect is not the web page.

Second, modify the WordPress database configuration file

Here we use phpMyAdmin to modify database data, to use the database command Reference: WordPress site after replacing the process of resolving public IP network can not normally access

1. Database Administrator corresponding login phpmyadmin wordpress

2. Enter corresponding database wordpress

3. Enter the data table in the wp_options database

4. Locate and edit IP location information

The table has the data associated with two IP:

  • siteurl
  • home

Wherein the corresponding portion of the content with the new IP address for replacement .

Third, to complete the test

Refresh the page, you can normally access.

Guess you like

Origin www.cnblogs.com/Yogile/p/12499585.html