官术网_书友最值得收藏!

Migrating the files but not the database

With any sort of e-commerce site, it's always on, and always accepting new orders and payments and marking items as shipped. Because of this, if you ever replace a live database with a test database, you could have catastrophic results. It will often take days or weeks to make a test site, test the changes, and get them approved. In that time frame, there will very often be a new order and if you replace the live database with the test database, you erase all records of that order. If you're lucky, there will still be an email sent to you and the customer but you'll have no other records, which is a bad spot to be in.

This is why you'll never want to overwrite the live database. You'll want to work with a host that can let you move your code to your live site and leave the live database intact. Or you'll want to have your own processes to quickly move all files from your test site to your live site.

There are a couple of hosts worth mentioning that have a really nice infrastructure that helps you to build great WooCommerce sites:

These hosts will be able to help you to migrate just the files you want without moving the database. If you want to use another host, just make sure they have the infrastructure to migrate files between a test and a live website.

And if you're wondering why I'm mentioning hosts instead of local development software, that's because it's important in e-commerce to develop sites with a publicly accessible URL.

主站蜘蛛池模板: 古丈县| 福贡县| 建瓯市| 赤城县| 乐清市| 徐汇区| 达拉特旗| 容城县| 珠海市| 宜宾市| 辰溪县| 涡阳县| 台南县| 吴忠市| 湛江市| 东辽县| 河池市| 阿尔山市| 剑川县| 扬州市| 巴南区| 麻阳| 弋阳县| 鹤庆县| 太白县| 鄂托克前旗| 抚宁县| 兰溪市| 临潭县| 宣化县| 鄂州市| 南江县| 盐津县| 八宿县| 凤冈县| 巴南区| 台州市| 古田县| 马鞍山市| 巍山| 托克逊县|