Friday, July 26, 2024
HomeTop Recents TipsTop Recents Website TipsWordPress tips to Increase Maximum Upload size

WordPress tips to Increase Maximum Upload size

Let’s have WordPress tips to Increase Maximum Upload size. Increasing the Maximum Upload size in WordPress is limited by default during the WordPress installation. Whenever you are uploading a large file size in your WordPress website is you will be getting WordPress Error “your file exceeds the maximum upload size“?
WordPress tips to Increase Maximum Upload size
WordPress tips to Increase Maximum Upload size
This error occurs whenever you try to manually upload files, Themes, or Plugins in your WordPress built website. Now  We re-explaining to solve this Maximum Upload size in WordPress in easy steps as WordPress tips and tricks. These simple steps on WordPress tips to Increase Maximum Upload size are here below.

Steps on WordPress tips to Increase Maximum Upload size

Step 1: Go To the Root Directory of your WordPress.

At first, you should Go to your root directory of your WordPress where the files are installed. In case of themes WordPress free or paid version, you need to go to the theme root folder of site.
Let’s see the different examples for accessing your root folder or director of a wordpress site.
If you have a local Xampp server:
  • Go to  C:xampphtdocsdemotheme (demotheme is the root directory where WordPress is installed locally)
If you have  live server:
  • open your File Manager and open WWW or public_html folder.

Step 2: Modify .htaccess File 

In order to know the WordPress tips to Increase Maximum Upload size, we should know about the .htaccess file. After finding the root WordPress file then you have to do some modification on the .htaccess file.

What is the .htacces File?

Let’s know little bit basics about the .htaccess file before knowing about the Increasing Maximum Upload size in WordPress.  The .htaccess file is simply the configuration file read by the server.



This file is helpful in modifying the server configuration settings and can be used for authorization, cache control, website optimization, and URL rewriting in your website. In WordPress, the .htaccess file is used most commonly for rewriting URLs, making them cleaner, and more readable by humans and search engines, and it is located in the root directory of your WordPress site.

You may not be able to find this file using the FTP Program. This is because all files and directory names starting with a period are hidden by default. If you want to view these hidden files, you need to enable show hidden files option in your FTP client.

Also Read Benefits and Secrets of jQuery Loading from Google

To Modify the file, you have to search the .htaccess File. You will find the following codes inside. If there is no these codes inside then you can add them manually.

# Begin WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /demotheme/
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /theme-demo/index.php [L]
php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value memory_limit 256M
php_value max_execution_time 300
php_value max_input_time 300
</IfModule># END WordPressIn the above code, you have to add accordingly. Go through line by line and be aware the don’t mess with the codes that your site might not work correctly if the syntax and codes are mistakenly written.
Note: we would like to request for taking the original .htaccess file backup before editing the file manually.

Now see the below the line of code mainly. You just can change some values on this only. Others keep it as usual. If your code has already this line then no need to add more codes or lines. Keep in mind that some plugins in WordPress are automatically added and modified.

“php_value upload_max_filesize 128M”

This line of code means that you can upload maximum file size of 128MB. this is the maximum amount of file size you can upload. You can change this value according to your need.

Step 3: Save Changes.

After modifying or adding the value in the above code, Make sure you have clicked to Save changes or save the file.

Now go to the uploading place and try to upload the bigger size of the file you have maintained. You will be able to upload the maximum file size you have mentioned.  Hope this guide post helped you to Solve Error your file exceeds the maximum upload size. we will be posting useful WordPress tips in future posts.



toprecents
toprecents
Top Recents is Regular Blogger with many types of blog with owe own blog as toprecents.com
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Recent Posts

Most Popular Posts