Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
1  
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
1  
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
1  
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

 
discard

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

Browse other questions tagged or ask your own question.