cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution
Highlighted
New

WordPress file upload limitations

I am unable to upload media to my WordPress site.

 

See status messages in attached pictures.

 

Incomprehensible to me since I have unlimited storage as per my plan

 

How do I resolve this?

7 REPLIES 7
Super User II Super User II
Super User II
Solution

Re: WordPress file upload limitations

Since you didn't attached the errors you are receiving I can only surmise it is either file size or memory limitations.   Storage really has nothing to do with uploading.

 

Check the file size -- WordPress limits at 50M

 

Check your wp-config.php file to see what your memory limit is set at and increase it.  If not noted add this line to your wp-config.php file:

 

define( 'WP_MEMORY_LIMIT', '256M' );

 

More info on this file and memory here.

 

HTH! Smiley Wink

Judith
"Many of life's failures are people who did not realize how close they were to success when they gave up." ~Thomas Edison

Resolver I
Resolver I

Godaddy Linux hosting Maximum upload limit

If you look up how to increase your PHP max file size for Godaddy Hosting.Follow these steps.

http://www.ithemesforests.com/how-to-change-your-php-max-file-upload-size-in-godaddy-shared-linux-ho...

Re: WordPress file upload limitations

you must be an angel

Re: WordPress file upload limitations

Can you please explain where to add this line exactly, because i tried it however max file upload is still 2M.

Super User II Super User II
Super User II

Re: WordPress file upload limitations

@Sharaiha 

 

The line would be added into your wp-config.php file via FTP.   Make a copy first as a backup!

 

HTH! 😉

Judith
"Many of life's failures are people who did not realize how close they were to success when they gave up." ~Thomas Edison

Re: WordPress file upload limitations

Please how do I increase the upload limit.

I want to import .xml which is 5MB but maximum upload is set at 2MB

http://prntscr.com/jchemr

 

Thanks

Resolver I
Resolver I
Solution

Re: WordPress file upload limitations

HI,

Visit this article.Im sure you will get your issue fixed.

https://www.ithemesforests.com/how-to-increase-wordpress-maximum-upload-and-php-memory-limit/