Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've ended up with loads of duplicate entries after a botched import job.

Is there an easy and safe way to delete all entries in a section, so that I can start over again?

share|improve this question

If you delete the section, that will delete all the entries in the section as well.

share|improve this answer

Not really an answer, as such (as others have pointed out there's no way to mass delete from the CP, yet), but when I'm trialling imports I take a DB backup via the CP before and if the import fails or I need to rollback I simply restore the DB.

share|improve this answer

There is currently no way to select and delete all entries specific to a section through the control panel interface.

share|improve this answer
Couldn't you just delete the entry type and re add it? – Steve Adams Jul 3 '14 at 13:04
Might work. Want to test? But not on a live site:) – Anna_MediaGirl Jul 3 '14 at 16:43

@pixelJitsu said "Couldn't you just delete the entry type and re add it?"

@Anna_MediaGirl replied, "Might work. Want to test? But not on a live site:)"

I just tested this on a dev site. Craft asked me if I was sure I wanted to delete the entry type and "all entries that use it".

Poof, they all disappeared from the dashboard.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.