Unable to upload large file to WordPress? No problem. You can increase the file size by adding rule in .htaccess

  • Login to cPanel
  • Go to File Manager from cPanel.

  • Now go to your document root and open .htaccess file by right click. Then click on the “Edit”

  • Now put the following code. And update as per your desired size.

    php_value upload_max_filesize 512M
    php_value post_max_size 512M
    php_value max_execution_time 300
    php_value max_input_time 300

  • Now save the .htaccess file. That’s it.