看起来您已经在本地主机上玩得够多了,现在是时候了 duplicate your WordPress site, moving it to a better place.
如果你觉得这很难, 不用担心,移动你的WordPress网站不会超过20分钟的时间.
Let’s begin.
First of all, open the Plugins 部分,然后点击按钮 Add New
Now enter the name of the plugin into the search field; it’s Duplicator
And here’s the WordPress Duplicator plugin you need.
Install it, and activate the clone plugin.激活后,复印机插件设置将出现在菜单中.
如你所见,没什么可怕的. Let’s move on.
这个插件的开发是为了帮助你 move your website from one location to another. 此外,复制器可以创建站点的自动备份.
Some hosting providers, 尤其是中低价, do not create automatic backups, and that’s a really bad thing. For example, 有时用户会破坏他们的网站, and if they don’t have a copy, 你觉得他们会有什么反应?
Unfortunately, 复印机有个问题——免费版不允许你创建自动备份, 但我不认为这是个问题, 因为您可以根据需要创建尽可能多的备份包.
在您开始对您的网站进行任何更改之前, 通过安装第三方插件或编辑源代码, you need to create a new backup package.
Hit the Packages 项,您将看到以下内容.
There are no packages, yet.
Now hit the button Create New, and let some magic happen.
需要说明的是,整个备份过程只有四个步骤:
有趣的是,当我试图创建一个包时,我收到了一个错误. 幸运的是,这不是插件的问题,而是我的托管帐户的问题.
If you’re using GoDaddy 托管您即将经历同样的问题. 现在,我将向您展示如何修复这个问题,并最终创建一个包.
In my case ZIP archiving was not enabled on my account. 要启用它,我[和你]需要登录到 Cpanel.
在软件部分,有一个图标 PHP PEAR Packages, hit it.
When you’re there, enter zip into the search field and press Go
下一页将显示一个Archive_Zip (0.1.2)需要安装的模块.
If you see this:
.......done: 19,606 bytes
install ok: channel://pear.php.net/Archive_Zip-0.1.2
恭喜你,你做对了.
但你还需要做一件事. 回到CPanel的主页,在相同的部分 Software, where there’s an item PHP Processes.
Click on it.在下一页你需要点击按钮 Kill Processes.
Don’t worry, 这不会真正“杀死”任何东西, 此工具将重新启动您的托管帐户上的PHP进程.
Press Kill Processes 让我们回到网站管理员那里,创建一个包.
Here’s what you need to do:
现在你有了你的网站的备份,你可以做任何你需要的操作.
当你的包准备好了,你会得到两个文件:installer.php and archive.zip
这个过程还需要一些简单的步骤,例如:
为了简化整个网站建设过程,你需要知道一个小技巧. 大多数主机帐户允许您创建子域. 基本上,这将是一个单独的网站托管在一个单一的帐户.
所以当你创建子域名时,你可以调用它 sandbox.yourdomain.com and practise there. 如果出了问题,这会帮助你避免压力. 在应用所有必要的更改之后,您可以复制WordPress站点并将整个包从 sandbox to its final destination.
如果你有任何问题,你可以在评论区提出来. 如果你没有东西要搬,我们有很多 WordPress themes that will fit any business niche; you’re welcome to check them out.
订阅我们的时事通讯和访问独家内容和提供只提供给og体育首页Post订户.