Clearing all Post and Media for reinstallation on a new domain
-
I have a content heavy wordpress site with 10k plus post and 100k+ of media files. I would like to copy over the current files, plugins and database and reinstall on another host and domain. (I already know how to do this).
I want to start fresh on the new site by deleting all posts and medias at the media library.
Besides deleting the post and media manually via the admin backend, what is the better way to delete all current and media without affecting the wordpress system and installed plugins? (as deleting 10k+ posts and 100k+ media links in media library is very time consuming)
If it is via database, which is the foolproof way so that everything is cleared?Note: the wordpress is modified with a lot of custom fields, custom post types and custom taxonomies.
- The topic ‘Clearing all Post and Media for reinstallation on a new domain’ is closed to new replies.