如何還原WordPress至一開始安裝的狀態?

有很多朋友問我說:WordPress網站做好一陣子覺得很亂,想要還原至一開始剛剛安裝好WordPress之狀態,步驟如何? 可以一鍵還原嗎? 有無外掛可以做?

其實只要至後台安裝外掛/搜尋WP Database Reset/並啟用,再依照下述的步驟做即可!

切記! 執行前先備份網站,再執行,以免後悔時就來不及挽回!

1. 在後台安裝並啟用WP Database Reset

莎 菲 玸 網 頁 設 計 有 限 公 司 - 測 站 0 1 0 
十 新 增 項 
控 制 台 
外 觀 
外 掛 
已 安 的 外 掛 
使 用 者 
工 具 
安 裝 外 掛 
尋 結 惰 
WP Database Reset 
Skip reinstalling WP to reset it & reset the 0 「 d “ 
W Fa / Ltd 
啟 用 安 装 教 80 , 000 
更 多 詳 細 
最 後 更 新 : 1 個 月 前 
柤 客 於 這 占 的 WordPress 版 本

2. 選擇工具/WP Dabase Reseat

2 
to undo a re-set. If something is not Clear open a ticket on the Official 
All tickets are answered within a few hours. 
2. Select the database table(s) you would like to reset: 
Select b les 
users 
use meta 
comments 
links 
options 
terms 
term_taxcncmy 
on ships 
commentmeta 
• You selected the options table. Reactinte current theme and plugins 
• selected the users Only user Will be restored. 
3. Enter the security code into the text box below: 3D5A8 
3D5A8 
Reset Tables

  • 3. 會跳到這畫面,即大功告成,輸入帳密之後
Username or Email Address 
Password 
C) Remember Me 
Log In


4. 你會發現外掛只剩以下這2個

+ New 
a Dashboard 
Posts 
Media 
Pages 
Comments 
Appearance 
Plugins 
Installed Plugins 
Add New 
Users 
Plugins Add New 
I (2) | Inactive (2) 
o 
o 
C) 
Plugin 
WP All Export 
Activate Delete 
WP Database Reset 
Activate Delete 
Plugin 
Description 
Export any post type to a CSV or XML file. Edit the expor 
Version 1.2-5 | By Sofly•y I View details 
Reset all or some WP database tables back to their origil 
Version 3.15 | By WebFactory Ltd I View details 
Description 
Bulk Actions v 
Apply



5. 登入之後就會發現已回到當初WordPress剛剛安裝好,尚未有任何動作時的初始狀態

+ New 
Dashboard 
Updates 
Posts 
Media 
Pages 
Comments 
Appeararwe 
Plugins 
Users 
Tools 
Settings 
Collapse menu 
Dashboard 
Welcome to WordPress! 
We've assembled some links to get you started: 
Get Started 
Customize Your Site 
or, change 
At a Glance 
1 Post 
I Comment 
I Page 
Next Steps 
Write your first blog post 
+ Add an About page 
Set up your homepage 
View your site 
Quick Draft 
Title
  • 啟用Astra Child,最左邊原始預設twentytwenty版型就會不見!
Dashboard 
Posts 
Media 
Pages 
Comrnents 
Appearance 
É Plugins 
Users 
Tools 
Settings 
Search installed themes... 
ERROR: The theme directory "twentytwenty" does not exist. 
Active: tw•entytwenty 
O New version available, 
Build Your 
Dream! 
Astra 
Impet Repel 'e 
Howdy, ase3e 
Let's Build Your Website! 
Lorem Ipsum Dummy Text Here 
Astra Child


Astra Theme是當初安裝版型,會未啟用,啟用它即可,不用重複安裝!

Dashboard 
posts 
Media 
Comments 
Appearance 
Customize 
Widgets 
Menus 
Astra Options 
Plugins 
Users 
0 1 o + New 
Themes O 
New theme activated. 
Let's Build Your Website! 
Lorem Ipsum Dummy Text Here 
Active: Astra Child 
New version available. Update now 
Build Your 
Dream! 
Start 
Astra

 

返回頂端