Skip to content
ferkesh.HOSTING

Test Upload Quotas and File Types on a WordPress Multisite Subsite

WordPress 59 visualizações Markdown

A Multisite subsite can reject an upload because of the network's file-type policy, the maximum size for one file or the subsite's remaining storage. Test the conditions individually on a disposable subsite.

Workflow. Network rules. Disposable subsite. One limit per test. Remove fixtures.

Inspect network and site limits

As an authorized network administrator, record the configured Site upload space, Upload file types and Max upload file size in Network Admin → Settings. Review the selected subsite's settings for any applicable per-site override. Record the effective PHP and web server ceilings as a separate layer.

Build a manageable test

Use a known-good small JPEG and a harmless format that the policy excludes. On a disposable site with a deliberately low limit, check an allowed file just under the available space and a second upload after the quota is reached. Keep the fixture files small and leave the rest of the network's settings alone. Record the account role and exact error text.

Isolate the failing layer

If disallowed types fail and allowed small files pass, the format policy is working. If uploads fail only when the site is nearly full, look at quota accounting. If an otherwise permitted file fails before WordPress can display a validation error, inspect the HTTP response and host upload limits. Recheck after clearing the fixture through the Media Library.

Expected result

The matrix identifies whether policy, storage or request size explains each outcome. Save the observed effective rules and remove the disposable fixture files.

Official references

Ferkesh Hosting. Last reviewed .

Foi útil?

Obrigado pela sua opinião!

Ainda precisa de ajuda?

A equipa de apoio está disponível a qualquer hora para ajudar com o que não encontrar na base de conhecimento.