How to increase the media upload file size in wordpress


It’s really easy to increase the media upload file size without touching the php.ini file.

Just open your wordpress .htaccess file and paste the following code:




  
# BEGIN WordPress


  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]

  php_value upload_max_filesize 250M
  php_value post_max_size 250M
  php_value max_execution_time 300
  php_value max_input_time 300



# END WordPress



Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s