WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. 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 have a website which allows "mini sites", meaning custom post types.

We noticed that the images that are published along the mini-sites reviews go automatically to the same month, while regular posts attachments keep going to the regular year/month folders. Since most hosts have a 2000 files limitation per folder, we lost 8000 files when migrating.

Now we can publish and upload through the wordpress library, but files do not appear anymore in the FTP folders.

How can you make a custom post type have the same rules for images than the regular posts/Pages?

share|improve this question
By default, CPTs do use the same rules as regular posts. There must be some plugin or code that is changing this for your CPT. – vancoder Apr 15 '13 at 16:21
Can you name and shame your host? I'm not aware of any competent host that does this 2k limit thing – Tom J Nowell Apr 15 '13 at 16:42
Also for clarity your question appears to be "we have 8k attachments but can only put 2k files in a folder, how do we fix this so we can continue to upload attachments?" – Tom J Nowell Apr 15 '13 at 16:44

Your Answer


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

Browse other questions tagged or ask your own question.