Home » Ask (Forum) » How to limit upload size in WordPress blog?


Hi, I would like to know how to limit upload size for media? Because it’s configured at 64 Mb and users can submit media… so i’m afraid they would overload the server!

My question is, how to reduce it to 1 Mb for example?

Jul 30, 2016 (3 years ago) - Posted by 2 Comments

2 Answers

  1. Support says:

    Hello, I have two ways for limit upload size.

    1. If you can edit or override the system php.ini file, you can decrease the maximum file and post sizes. For example, upload_max_filesize = 10M and post_max_size = 10M

    2. But if you cannot edit or override the system php.ini file add below code into your .htaccess file.

    php_value upload_max_filesize 10M 
    php_value post_max_size = 10M

    Good luck!

    Team Support
  2. Tips says:

    The easy way, just open wordpress.org and you can find plugins that limit upload size 😉

    Register Member

Your Answer

Your email address will not be published. Required fields are marked *