admin管理员组文章数量:1025218
I a having too many errors on my blog recently. I tried everything (including posting in this forum), but couldn't sort it out. Would it be possible to reset my WordPress website without losing posts, comments, media and widgets?
I have installed a plugin called WordPress Database Reset, but not sure about what options I should pick to keep posts, media, etc.
I a having too many errors on my blog recently. I tried everything (including posting in this forum), but couldn't sort it out. Would it be possible to reset my WordPress website without losing posts, comments, media and widgets?
I have installed a plugin called WordPress Database Reset, but not sure about what options I should pick to keep posts, media, etc.
Share Improve this question edited Sep 7, 2016 at 18:45 Ethan Rævan 4,0295 gold badges27 silver badges55 bronze badges asked Sep 7, 2016 at 12:54 justinajustina 211 silver badge2 bronze badges 1- Has this question been resolved? – Ethan Rævan Commented Sep 13, 2016 at 19:39
4 Answers
Reset to default 1Would it be possible to reset my WordPress website without losing posts, comments, media and widgets?
First thing first, please make a backup before make permanent changes...
If you want to keep just your posts, comments, media and widgets these tables are ones you do not want to reset:
wp_post
andwp_postmeta
- pages, posts, media, custom posts, etcwp_comments
andwp_commentmeta
- all commentswp_options
- widgets
Also, if you reset wp_users
table, make sure you can login...
Looking at your screenshot above, the plugin you have installed should be able to do it. In order to keep your posts & media and comments you would need to leave out the posts, postmeta and comments options. The one related to postmeta will contain everything to do with who posted it, post id, media included etc, although I would advocate the option I set out next, as it is less likely to mess everything up.
A separate option is install a fresh copy of WordPress, and then export your current blog into your new one. This will mean you can keep everything you need, but you get a fresh database etc to use.
The options are under Tools --> Export to export the blog (you can pick what to export) and Tools --> Import to bring everything into your new WordPress install (This does require a plugin, but it is mentioned on the import page).
No.
Data is spread around, and the name of the table is not a very good indication of where the data in it is used. Any core table you delete might end up in unusable site.
Back up your entire database and files first.
Use the export functionality that comes native with WordPress to download all of your posts, media, and widgets.
After you've finished exporting everything you want to keep, follow the instructions in this link to uninstall and re-install WordPress.
Once you're finished, use WordPress Importer to import all those files back into your system.
It's all gravy from there.
I a having too many errors on my blog recently. I tried everything (including posting in this forum), but couldn't sort it out. Would it be possible to reset my WordPress website without losing posts, comments, media and widgets?
I have installed a plugin called WordPress Database Reset, but not sure about what options I should pick to keep posts, media, etc.
I a having too many errors on my blog recently. I tried everything (including posting in this forum), but couldn't sort it out. Would it be possible to reset my WordPress website without losing posts, comments, media and widgets?
I have installed a plugin called WordPress Database Reset, but not sure about what options I should pick to keep posts, media, etc.
Share Improve this question edited Sep 7, 2016 at 18:45 Ethan Rævan 4,0295 gold badges27 silver badges55 bronze badges asked Sep 7, 2016 at 12:54 justinajustina 211 silver badge2 bronze badges 1- Has this question been resolved? – Ethan Rævan Commented Sep 13, 2016 at 19:39
4 Answers
Reset to default 1Would it be possible to reset my WordPress website without losing posts, comments, media and widgets?
First thing first, please make a backup before make permanent changes...
If you want to keep just your posts, comments, media and widgets these tables are ones you do not want to reset:
wp_post
andwp_postmeta
- pages, posts, media, custom posts, etcwp_comments
andwp_commentmeta
- all commentswp_options
- widgets
Also, if you reset wp_users
table, make sure you can login...
Looking at your screenshot above, the plugin you have installed should be able to do it. In order to keep your posts & media and comments you would need to leave out the posts, postmeta and comments options. The one related to postmeta will contain everything to do with who posted it, post id, media included etc, although I would advocate the option I set out next, as it is less likely to mess everything up.
A separate option is install a fresh copy of WordPress, and then export your current blog into your new one. This will mean you can keep everything you need, but you get a fresh database etc to use.
The options are under Tools --> Export to export the blog (you can pick what to export) and Tools --> Import to bring everything into your new WordPress install (This does require a plugin, but it is mentioned on the import page).
No.
Data is spread around, and the name of the table is not a very good indication of where the data in it is used. Any core table you delete might end up in unusable site.
Back up your entire database and files first.
Use the export functionality that comes native with WordPress to download all of your posts, media, and widgets.
After you've finished exporting everything you want to keep, follow the instructions in this link to uninstall and re-install WordPress.
Once you're finished, use WordPress Importer to import all those files back into your system.
It's all gravy from there.
本文标签: Can I reset wordpress without losing postscommentsmedia and widgets
版权声明:本文标题:Can I reset wordpress without losing posts, comments, media and widgets? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745613449a2159143.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论