简体   繁体   中英

How to transfer Wordpress files from localhost to azure

I have completed my wordpress site in localhost,And i have wordpress domain in azure(defualt wordpress theme).Now i want to transfer complete all files to azure from localhost.Is it possible?Please help me

Migration plugin ( https://wordpress.org/plugins/all-in-one-wp-migration/ ) is useful for you. you are able to take migration file from your local setup and upload that migration file in your azure setup.

Create a backup of your WordPress files and database

Install wordpress on azure, you can follow this guide ( https://wplift.com/wordpress-microsoft-azure )

You need the /wp-content folder and the export file from WordPress on your localhost, you will need a copy of your site content, WordPress has a built-in exporter for this – simply visit “Tools” > “Export” and choose “All Content” and download the Export file. Then upload your wp-content folder on Azure and import your content by visiting “Tools” > “Import" and upload your export file.

It's a bit straight forward.

Go to Tools → Export:

Clicking the Export All button (if you have a site without plugins installed.) Selecting all content and clicking the Download Export File button (if you have a site with plugins installed.) Download specific content only, like posts, pages, or feedback. Wait for the export to process. Once it's ready, click the Download button that appears, or check your email for the download link. You will receive a.zip file to save to your computer with the.xml file inside of it. This file contains your posts, pages, comments, categories, tags, and references to your site's images. Larger sites will include more than one XML file to ensure that your export process will be fast and complete successfully. When importing into another site, you'll need to unzip the file and import each of the.xml files individually.

Host/create your wordpress on azure and reverse the process above by using import in place of export.

Import your file to the new site. If you're importing to another WordPress.com site, you can follow the same steps in this guide.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM