![](https://i-blog.csdnimg.cn/blog_migrate/9f3eb57a2c7fa4540cb0ec3d83fa8c34.png)
wordpress密码重置
Recently, one of our readers asked us, “How do I restart my WordPress site?”.
最近,我们的一位读者问我们:“如何重新启动WordPress网站?”。
This isn’t something that most users will need to do, but knowing how to reset WordPress can be very helpful in some situations.
这不是大多数用户需要执行的操作,但是在某些情况下了解如何重置WordPress可能会很有帮助。
In this tutorial, we’ll show you how to restart or reset your WordPress site, the fast way.
在本教程中,我们将向您展示如何快速重启或重置WordPress网站。
![Restarting a WordPress site Restarting a WordPress site](https://i-blog.csdnimg.cn/blog_migrate/911d5073f0c4723b812af13ae5323623.png)
为什么要重新启动WordPress网站? (Why Restart a WordPress Site?)
Restarting or resetting WordPress is a process where you restore WordPress to the default settings. Think of it as a similar process to restoring your phone to the default “factory settings”.
重新启动或重置WordPress是一个将WordPress恢复为默认设置的过程。 可以将其视为与将手机恢复为默认“出厂设置”类似的过程。
It will delete all your apps and customizations, so you can start over fresh.
它将删除您所有的应用和自定义设置,因此您可以重新开始。
There are several situations where you might want to restart or reset a WordPress site:
在几种情况下,您可能需要重新启动或重置WordPress网站:
1. You’re using a demo site on your own computer. If you’ve installed WordPress on localhost, then you might want to reset after you’ve built a site and moved it from localhost to a live server. If you’re a developer and constantly test themes & plugins on your local install, then it can help to reset it every quarter to start fresh.
1.您正在自己的计算机上使用演示站点。 如果您在本地主机上安装了WordPress,那么您可能需要在建立网站并将其从本地主机移至实时服务器后进行重置。 如果您是开发人员,并且经常在本地安装上测试主题和插件,那么它可以帮助您每季度重置一次以重新开始。
2. You’ve been working on a new site and want to start over. Maybe you’ve been busy creating a blog or website, but you are not happy with the customizations. Instead of undoing everything, you can simply reset WordPress and quickly start over with a new design.
2.您一直在一个新站点上工作,并且想要重新开始。 也许您一直在忙于创建博客或网站,但是您对自定义不满意。 无需撤消所有操作,您只需重置WordPress即可快速开始使用新设计。
3. You’re going to rework a client’s website. If they want something very different from what’s already there, then you might need to reset WordPress on staging server to start from scratch.
3.您将重做客户的网站。 如果他们想要与已经存在的东西完全不同的东西,那么您可能需要在登台服务器上重置WordPress以从头开始。
4. You’re learning about WordPress, hands-on. Maybe you’ve had a go at developing your own plugins or themes, or you’ve been experimenting with a starter theme. You might want to start again with a fresh installation of WordPress.
4.您正在动手学习WordPress。 也许您已经尝试开发自己的插件或主题,或者您正在尝试使用入门主题 。 您可能需要重新开始安装WordPress。
影片教学 (Video Tutorial)
If you’d prefer written instructions, just keep reading.
如果您喜欢书面说明,请继续阅读。
如何重新启动和重置WordPress网站 (How to Restart and Reset a WordPress Site)
Restarting your WordPress site might sound difficult, but it’s really not.
重新启动WordPress网站可能听起来很困难,但实际上并非如此。
We’re going to walk you through the entire reset process, step by step.
我们将逐步引导您完成整个重置过程。
Before you begin, it’s important to create a full backup of your site using a WordPress backup plugin. This is important in case you want to restore your site from the backup after restarting it.
在开始之前,使用WordPress备份插件创建网站的完整备份非常重要。 如果要在重新启动站点后从备份中还原站点,这一点很重要。
Restart Your WordPress Site with WP Reset
用WP Reset重新启动WordPress网站
Now you’re ready to move on and restart your WordPress site. We’re going to use the free version of the WP Reset plugin for this.
现在,您可以继续并重新启动WordPress网站。 为此,我们将使用WP Reset插件的免费版本。
First, you’ll need to install and activate the WP Reset plugin. For more details, see our instructions on how to install a WordPress plugin.
首先,您需要安装并激活WP Reset插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的说明 。
Once the plugin is activated, you need to go to the Tools » WP Reset in your WordPress dashboard and scroll down to the Site Reset section of the page.
激活插件后,您需要转到WordPress仪表板中的“ 工具»WP重置” ,然后向下滚动到页面的“站点重置”部分。
To reset your site, you need to type the word ‘reset’ in the confirmation field before clicking the red ‘Reset Site’ button.
要重置您的站点,您需要在确认字段中输入单词“ reset”,然后单击红色的“ Reset Site”按钮。
![The button in WP Reset to restart your WordPress site The button in WP Reset to restart your WordPress site](https://i-blog.csdnimg.cn/blog_migrate/ea658f22765b79b600b618972e9ffd21.png)
WP Reset will pop up a message asking you to confirm that you want to reset the site. Click ‘Reset WordPress’ to continue.
WP Reset将弹出一条消息,要求您确认要重置站点。 点击“重置WordPress”继续。
![Confirm that you want to reset your website Confirm that you want to reset your website](https://i-blog.csdnimg.cn/blog_migrate/19f7006baec999b9d24948d84e90e937.png)
You’ll see a ‘Resetting in progress’ message for a few seconds. Then, your site will be restarted.
几秒钟后,您会看到“正在重置”消息。 然后,您的站点将重新启动。
Next, you’ll see the homepage of your WordPress dashboard with a success message at the top from WP Reset.
接下来,您将在WordPress仪表板的主页上看到WP Reset顶部的成功消息。
![WPReset's message confirming that you've successfully reset your WordPress site WPReset's message confirming that you've successfully reset your WordPress site](https://i-blog.csdnimg.cn/blog_migrate/23e10d389d3c89b7bb0dc4440113aa87.png)
That’s it. You’ve restarted your WordPress site.
而已。 您已经重新启动了WordPress网站。
重新启动网站时的可选WP重置功能 (Optional WP Reset Functions When Restarting Your Site)
The above method gives you everything you need in order to restart your site.
上面的方法为您提供了重新启动站点所需的一切。
However, there are some other options in WP Reset that you might want to use too.
但是,WP重置中还有一些其他选项可能需要使用。
Taking a Snapshot of Your WordPress Site Before Restarting
重新启动之前为您的WordPress网站拍摄快照
You can use WP Reset to take a snapshot of your site. A snapshot is a restore point for your WordPress database. It lets you see what changes have been made since the snapshot was taken. You can use it to roll back changes if necessary.
您可以使用WP重置为您的站点拍摄快照。 快照是WordPress数据库的还原点。 它使您可以查看自拍摄快照以来进行了哪些更改。 如有必要,您可以使用它回滚更改。
Important: A snapshot is not a WordPress backup. You should still make backups to restore your website.
重要提示:快照不是WordPress备份。 您仍应备份以还原您的网站。
To create the snapshot, click on the Snapshots tab. Then, scroll down and click the Create Snapshot button:
要创建快照,请单击“快照”选项卡。 然后,向下滚动并单击“创建快照”按钮:
![Creating a snapshot of your WordPress site before restarting it Creating a snapshot of your WordPress site before restarting it](https://i-blog.csdnimg.cn/blog_migrate/ee2b8c69d73eef3c1e217ae12d4ed4da.png)
You’ll be prompted to enter a name or description for the snapshot. Type in whatever you want to use, then click the ‘Create snapshot’ button.
系统将提示您输入快照的名称或描述。 输入您要使用的任何内容,然后单击“创建快照”按钮。
![Name the snapshot you're creating Name the snapshot you're creating](https://i-blog.csdnimg.cn/blog_migrate/1d10be2699a13132fa5438aacc6c5c95.png)
Deleting Themes and Plugins Using WP Reset
使用WP Reset删除主题和插件
By default, WP Reset doesn’t delete theme and plugin files. It simply deactivates them. However, you can use it to delete these files too.
默认情况下,WP Reset不删除主题和插件文件。 它只是停用它们。 但是,您也可以使用它删除这些文件。
First, you’ll need to go to Tools » WP Reset and click the ‘Tools’ tab. Once there, simply click on the ‘Delete Themes’ or ‘Delete Plugins’ links to jump straight to those tools.
首先,您需要转到工具»WP重置 ,然后单击“工具”标签。 到达那里后,只需单击“删除主题”或“删除插件”链接即可直接跳转到那些工具。
![Click the link to delete themes and/or plugins Click the link to delete themes and/or plugins](https://i-blog.csdnimg.cn/blog_migrate/84688d9b6b6a21a58b2041783053077e.png)
Once you click either link, you’ll be scrolled down the page to the right tool:
单击任一链接后,您将在页面上向下滚动到正确的工具:
![Click the button to delete all themes from your WordPress site (including the active one) Click the button to delete all themes from your WordPress site (including the active one)](https://i-blog.csdnimg.cn/blog_migrate/2aa4487374fa3c6e601ca90df7dd4a56.png)
You can click the ‘Delete all themes’ or ‘Delete plugins’ button to delete them.
您可以点击“删除所有主题”或“删除插件”按钮将其删除。
Important: WP Reset doesn’t backup your files in any way. Deleting your themes and plugins can’t be undone.
重要: WP重置不会以任何方式备份您的文件。 删除主题和插件无法撤消。
After you click the button, you’ll be prompted to confirm. Click the Delete button on the popup to continue.
单击按钮后,将提示您进行确认。 单击弹出窗口上的删除按钮以继续。
![WP Reset will bring up a warning before allowing you to delete all themes WP Reset will bring up a warning before allowing you to delete all themes](https://i-blog.csdnimg.cn/blog_migrate/58953c250b4f15186664ec1baefd4591.png)
You’ll then see a message telling you how many themes or plugins have been deleted.
然后,您会看到一条消息,告诉您已删除了多少个主题或插件。
If you delete all themes, then you’ll need to install and activate a theme manually. Your site won’t work without one. If you go to Appearance » Themes, then you’ll see a screen like this:
如果删除所有主题,则需要手动安装和激活主题。 您的网站离不开它。 如果您转到外观»主题 ,那么您将看到一个类似这样的屏幕:
![The empty themes page with no themes installed The empty themes page with no themes installed](https://i-blog.csdnimg.cn/blog_migrate/9b6bcbf33c701063b2ddaeb923fd5d14.png)
Go ahead and click the ‘Add New’ button and choose or upload a theme of your choice. If you need help, check out how to install a WordPress theme.
继续并单击“添加新”按钮,然后选择或上传您选择的主题。 如果您需要帮助,请查看如何安装WordPress主题 。
重新启动WordPress网站后还原数据 (Restoring Your Data After Restarting Your WordPress Site)
After restarting your WordPress site, any posts and pages you had will be gone. Instead, you’ll see the default pages and the ‘Hello, world’ post:
重新启动WordPress网站后,您拥有的所有帖子和页面都将消失。 相反,您将看到默认页面和“ Hello,world”帖子:
![The 'Hello World' default post The 'Hello World' default post](https://i-blog.csdnimg.cn/blog_migrate/5f68f5b30ed6f422b8882d96b6bb18a4.png)
To restore your old data, you will need to reinstall and activate the backup plugin that you used to create your backup.
要还原旧数据,您将需要重新安装并激活用于创建备份的备份插件。
You can then follow its instructions to restore your site from the backup.
然后,您可以按照其指示从备份还原站点。
Viewing Your Restored Content
查看还原的内容
Once you’ve restored your site from backup, your content should be back on your site.
从备份还原站点后,您的内容应重新出现在站点上。
You’ll find all your posts under Posts » All Posts. They’ll have the correct time stamps, categories, tags, and comments.
您将在“ 帖子”»“所有帖子”下找到所有帖子 。 他们将具有正确的时间戳,类别,标签和评论。
![Viewing the imported posts Viewing the imported postsv](https://i-blog.csdnimg.cn/blog_migrate/c29c6e7a1fecba0b305c6b7ba8e9ab12.png)
We hope this tutorial helped you learn how to reset a WordPress site the fast way. You might also like our ultimate guide to speeding up WordPress and our list of must have WordPress plugins for all sites.
我们希望本教程可以帮助您学习如何快速重置WordPress网站。 您可能还会喜欢我们的加快WordPress的最终指南,以及我们所有站点都必须具有WordPress插件的列表。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在Twitter和Facebook上找到我们。
wordpress密码重置