Title: delete all wordpress content
Last modified: August 19, 2016

---

# delete all wordpress content

 *  [miocene22](https://wordpress.org/support/users/miocene22/)
 * (@miocene22)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/)
 * I am developing a theme on my self-hosted wordpress.
 * How would I delete all the content of my wordpress install (i.e all posts, comments,
   uploads etc) and reset the installation to as if it had just been installed?
 * I would then like to import the theme tester xml. Could someone give me a step
   by step guide as the one on the [codex](http://codex.wordpress.org/Theme_Development_Checklist#.22Theme_Unit_Tests.22)
   is not much use…
 * thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/#post-1191198)
 * A reinstall would be the best (and safest/most effective) route. You could empty(
   truncate) db tables but the problem there is that you could remove too much and
   effectively lock yourself out completely. Or delete too little and retain all
   old theme options and taxonomy relationships etc.
 *  Thread Starter [miocene22](https://wordpress.org/support/users/miocene22/)
 * (@miocene22)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/#post-1191199)
 * hmmm, a reinstall would take a while.. Is there no quicker way? Like deleting
   the wp-content folder
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/#post-1191211)
 * No – that won’t work. Your content is stored in the database.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/#post-1191212)
 * Just to elaborate – you don’t need to re-upload all of the files. Just set up
   a new database, amend your wp-config.php file to point to the new db and then
   run wp/admin/install.php
 *  Thread Starter [miocene22](https://wordpress.org/support/users/miocene22/)
 * (@miocene22)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/#post-1191220)
 * ah ok. I actually just went throught the admin panel and deleted all the posts,
   pages and uploads throught there. Didn’t take too long.
 * Cheers anyways.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘delete all wordpress content’ is closed to new replies.

## Tags

 * [delete content](https://wordpress.org/support/topic-tag/delete-content/)
 * [theme test](https://wordpress.org/support/topic-tag/theme-test/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [miocene22](https://wordpress.org/support/users/miocene22/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/delete-all-wordpress-content/#post-1191220)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
