Setting up and using locally developed features is important for all word press technology sets. The local WordPress installation allows you to work independently of online connections, test site changes, themes, and plug-ins without interrupting real-time sites. Overall, the workflow is more efficient. Recently, we wrote a complete article on how to install word press locally using xampp. But your site has no effect on your hard disk. When you are finished, you need to know how to move WordPress from the local host to the real-time server. The
The end should be the place where people can see. Therefore, this article will show you how to switch from local installation to real-time environment, including posts, pages, photos, plug-ins, themes, etc. There are three different ways to do this. Using the built-in WordPress tool in content mobility, are you ready to move the entire site and database from the local WordPress installation to the real-time site by manually moving the plug-in? So here we go. First thing to do: two things are necessary: First, it is the completion site for the local development environment. The
The following is the web hosting account for the selected provider, where users can access the running FTP account and a database management system (usually phpMyAdmin). Of course, you also need an FTP client (FileZilla is recommended). If you use the built-in WordPress tool to move only the content, such as posts, pages and media, and do not need other content, it is very easy to use the baked tool in WordPress. The first step is to set up a new empty word press installation at the site location. Now, many hosting providers provide one click installation, which will be a good choice. But it can also be done manually. The
Then navigate to Tools > export and log in to the local development site. Male ensure that all content is selected, and then click export file. This provides an XML file that contains all the content of the site. Then visit the live site and navigate to Tools > import. If prompted to enter a system, select WordPress. Install the import plug-in and activate it after completion. Then use the Browse button to browse and import the previously ed XML file. After the process is completed, all posts, pages, categories, labels, media and custom fields must be sent to the real-time website. The
You simply need to manually rebuild themes, plug-ins, menus, artifacts, and other site elements so that the online version reflects the local site. The built-in import \/ export options provide a quick and easy way, but you can see how cumbersome this is. In particular, the WordPress website is often moved back and forth. Therefore, it may be a wiser idea to create a one-to-one copy of the local site on a real-time server. That’s what I’m going to show you now. As we mentioned in the introduction to moving WordPress from live server manually in localhost, first take a look at the process of importing WordPress from local installation to real-time site, and then use the plug-in to perform the same task. The
The plug-in path is usually easier, but you can better understand the mechanism if you perform a manual process more than once. Step 1: first export the local database, and then the local WordPress installation database. This is usually done through phpMyAdmin. If you are using this database tool for the first time, it is recommended that you check this beginner’s Guide to the topic. In a local environment, http:\/
Enter \/localhost\/phpmyadmin\/. To do this, you must land on the next screen. The
The next step is to open the corresponding word press database on the left side of the screen, and then find the Export button at the top. Choose a custom export method here. Especially for larger databases, make sure that all tables and gzip compression are selected. Select structure and data in the format by option and select the following boxes: If the drop table\/view\/procedure\/function statement does not exist, use auto increment quotation marks to enclose the table and column names. When you are finished, click move to the database file. The
Step 2: upload the WordPress file to the real-time server. This step will turn to run the FTP client. Navigate to the root directory of the live server and upload all files from your local WordPress installation to the target. Open the folder on your hard disk drive, display all the items in the folder, and then drag and drop. Another option is to use the FTP client interface to find and label files on the drive, then right-click and select upload. Well done. It may take a while. Step 3: you can continue to the next step when creating a new database on the real-time site and performing FTP upload. Here, you will import the database saved on your hard disk in the first step. The
The hosting provider provides a variety of methods. That is, most vendors use phpMyAdmin for such tasks, and we will do the same. If your company uses other tools, the steps are very similar, so don’t worry. First you need an empty new database. Just click the database in the top menu to create it. After that, enter the name, select the UTF-8 data sort suitable for the language region, or go to utf8\u general\u CI. Click create to set up an empty database. But before it is finished, users are required. Click the new database, then at the bottom of the screen, find rights > add user. The
Male enter the user name and password. The host is usually localhost, but please confirm with the provider. Also, make sure that the checkbox to grant all permissions to the database is enabled for new users, and then press go. Now only the database information is recorded. It will be needed soon. Note: some hosting providers may automatically set items such as database name, user, or password. If yes, please get the correct information. If this information cannot be found, the provider will be happy to help. Step 4: when the local database is already in phpMyAdmin, you can also import the database from the local site to the real-time environment, and then continue. The
To do this, click the previously created database. It must be completely empty at this time. At the top, click Import, select the Browse button, and then select the database file compressed as gzip. Click move to start the import. Done. Step 5: URL replacement in the database now presents some thorny problems. The problem with importing a database is that all links contained internally still point to the location of the previous site. In other words, any links on the site will not work yet. It’s time to change. There are several ways. Find and replace all instances through a text editor. In phpMyAdmin, a plug-in (such as velvet Blues) is selected, MySQL queries are executed, and connect it uses the find and replace script. The fourth is my favorite method. I will describe in detail how it works. however