{"id":12659,"date":"2025-02-24T14:10:34","date_gmt":"2025-02-24T12:10:34","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?p=12659"},"modified":"2025-03-24T09:39:53","modified_gmt":"2025-03-24T07:39:53","slug":"increase-maximum-file-upload-size-in-wordpress","status":"publish","type":"post","link":"https:\/\/creativethemes.com\/blocksy\/blog\/increase-maximum-file-upload-size-in-wordpress\/","title":{"rendered":"Increase Maximum File Upload Size in WordPress (Step-by-Step Guide)"},"content":{"rendered":"\n<p>Are you looking for ways to increase your WordPress website&#8217;s maximum file upload size?<\/p>\n\n\n\n<p>The maximum file upload size on WordPress websites is <strong>determined by your hosting server&#8217;s PHP configuration<\/strong>, which can range from just a few megabytes to several hundred.&nbsp;<\/p>\n\n\n\n<p>However, if you frequently upload large images, videos, themes, or plugins, you might find this limit restrictive.&nbsp;<\/p>\n\n\n\n<p>While WordPress doesn&#8217;t set these limits, unfortunately, it doesn&#8217;t offer a built-in way to change them.<\/p>\n\n\n\n<p>To increase the limit, you need to <strong>use a third-party plugin or manually edit server configuration files<\/strong> such as php.ini or .htaccess.&nbsp;<\/p>\n\n\n\n<p>In this guide, we&#8217;ll walk you through the different methods you can use to check your current file upload size and safely increase it to fit your needs.<\/p>\n\n\n\n<p>Let\u2019s get started.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#what-is-the-max-file-upload-size-in-word-press\">What is the Max File Upload Size in WordPress?\u00a0<\/a><\/li><li><a href=\"#why-increase-max-file-upload-size-pros-cons\">Why Increase Max File Upload Size? (+ Pros &amp; Cons)<\/a><ul><li><a href=\"#pros-of-increasing-maximum-upload-size\">Pros of Increasing Maximum Upload Size<\/a><\/li><li><a href=\"#cons-of-increasing-maximum-upload-size\">Cons of Increasing Maximum Upload Size<\/a><\/li><\/ul><\/li><li><a href=\"#how-to-check-maximum-file-upload-size-on-your-website\">How to Check Maximum File Upload Size on Your Website<\/a><ul><li><a href=\"#check-via-media-library\">Check via Media Library<\/a><\/li><li><a href=\"#check-via-site-health-info\">Check via Site Health Info<\/a><\/li><li><a href=\"#check-via-hosting-provider-support\">Check via Hosting Provider Support<\/a><\/li><\/ul><\/li><li><a href=\"#how-to-increase-maximum-file-upload-size\">How to Increase Maximum File Upload Size<\/a><ul><li><a href=\"#take-a-backup-before-proceeding-must-do\">Take a Backup Before Proceeding (MUST DO)<\/a><\/li><li><a href=\"#1-contact-your-hosting-provider\">1. Contact Your Hosting Provider<\/a><\/li><li><a href=\"#2-use-a-word-press-plugin\">2. Use a WordPress Plugin<\/a><\/li><li><a href=\"#3-create-or-edit-the-php-ini-file\">3. Create or Edit the php.ini File<\/a><\/li><li><a href=\"#4-modify-the-htaccess-file\">4. Modify the .htaccess File<\/a><\/li><li><a href=\"#increase-maximum-upload-file-size-in-a-multisite-optional\">Increase Maximum Upload File Size in a Multisite (Optional)<\/a><\/li><\/ul><\/li><li><a href=\"#conclusion\">Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-the-max-file-upload-size-in-word-press\">What is the Max File Upload Size in WordPress?&nbsp;<\/h2>\n\n\n\n<p>When uploading files to WordPress, you may encounter a limit on the maximum file size due to <strong>native restrictions applied to various file types<\/strong>, including images (JPEG, PNG, GIF), documents (PDF, DOCX), videos (MP4, MOV), and even themes and plugins.&nbsp;<\/p>\n\n\n\n<p>These limits exist for two key reasons: <strong>security and efficiency<\/strong>. If users were allowed to upload large files without restrictions, it could slow down the server, causing performance issues or even crashing the site. From a security standpoint, restricting file upload sizes helps prevent attackers from attempting <a href=\"https:\/\/www.cloudflare.com\/learning\/ddos\/glossary\/denial-of-service\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">denial-of-service (DoS) attacks<\/a> or uploading malicious files that are usually large and could compromise the website.<\/p>\n\n\n\n<p>So, the upload size limit is in place to <strong>prevent excessive resource consumption<\/strong> and ensure that the <strong>hosting server remains stable<\/strong> and continues to operate efficiently.<\/p>\n\n\n\n<p>Depending on your hosting provider, WordPress&#8217; maximum upload size can range from 2 MB to 500 MB. For example, Kinsta sets the limit at 128 MB, while WP Engine allows 50 MB for standard sites and just 1 MB for multisite networks.<\/p>\n\n\n\n<p>That said, the upload size limitation <strong>can be overridden by server-level settings<\/strong>. Later in the article, we will show you how to increase WordPress&#8217; maximum file upload size limits by overriding your hosting server settings.<\/p>\n\n\n\n<p><em>Read more: <a href=\"https:\/\/creativethemes.com\/blocksy\/blog\/how-to-fix-the-wordpress-updating-failed-and-publishing-failed-error\/\">How to Fix the WordPress Updating Failed &amp; Publishing Failed Error<\/a><\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-increase-max-file-upload-size-pros-cons\">Why Increase Max File Upload Size? (+ Pros &amp; Cons)<\/h2>\n\n\n\n<p>Several reasons prompt admins like yourself to increase your WordPress website&#8217;s maximum file upload size.<\/p>\n\n\n\n<p>If you frequently <strong>upload high-resolution images, videos, or other large media files<\/strong>, you might quickly run into the default limit set by your hosting provider. Similarly, installing <strong>larger themes or plugins<\/strong> directly through the WordPress admin dashboard may not be possible without increasing the upload size.<\/p>\n\n\n\n<p>If you sell <strong>digital products<\/strong> such as eBooks, stock photos, online courses, or software on <a href=\"https:\/\/creativethemes.com\/blocksy\/blog\/crucial-on-site-ecommerce-features\/\" target=\"_blank\" rel=\"noreferrer noopener\">eCommerce sites<\/a>, these files can often exceed the standard upload limit. Even for <strong>physical product retailers<\/strong>, high-quality images and detailed product descriptions improve user experience and conversion rates, making an increased upload size beneficial.<\/p>\n\n\n\n<p>Additionally, if you run a <strong>content-heavy website<\/strong> that requires frequent updates\u2014such as <a href=\"https:\/\/creativethemes.com\/blocksy\/starter-sites\/blog-templates\/\" target=\"_blank\" rel=\"noreferrer noopener\">blogs<\/a>, <a href=\"https:\/\/creativethemes.com\/blocksy\/starter-site\/news\/\" target=\"_blank\" rel=\"noreferrer noopener\">news sites<\/a>, or membership portals\u2014having a larger file upload limit allows you to refresh content more easily and engage your audience effectively.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"pros-of-increasing-maximum-upload-size\">Pros of Increasing Maximum Upload Size<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>High-quality media:<\/strong> Upload high-resolution images, videos, and other media files without resizing or compressing them, enhancing the overall user experience.<\/li>\n\n\n\n<li><strong>Expanded functionalities:<\/strong> Accommodate larger themes, plugins, and custom elements, boosting your site&#8217;s capabilities and features.<\/li>\n\n\n\n<li><strong>Improved engagement:<\/strong> Add more detailed product images, background videos, and downloadable content to increase engagement and conversions.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"cons-of-increasing-maximum-upload-size\">Cons of Increasing Maximum Upload Size<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Increased server load &amp; costs:<\/strong> Hosting large media files can consume more server space and bandwidth, potentially slowing down your website and increasing storage costs.<\/li>\n\n\n\n<li><strong>Backup &amp; recovery challenges:<\/strong> Larger files can make backups and recovery processes more time-consuming and complicated, potentially leading to data loss or corruption.<\/li>\n\n\n\n<li><strong>Page load times:<\/strong> Huge files can slow page load times, negatively impacting user experience and search engine rankings.<\/li>\n\n\n\n<li><strong>Security risks:<\/strong> Allowing large file uploads makes your site more vulnerable to attacks, such as denial-of-service (DoS) attempts, malicious file injections, and virus or malware uploads.<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong><em>IMPORTANT:<\/em><\/strong><em> Given these risks, consider optimizing media files, using external storage solutions, or upgrading your hosting plan to accommodate the demands instead of increasing the file upload limit. But if you still want to increase your WordPress website&#8217;s maximum file upload size, proceed to the following sections.<\/em><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-check-maximum-file-upload-size-on-your-website\">How to Check Maximum File Upload Size on Your Website<\/h2>\n\n\n\n<p>Before increasing your WordPress site\u2019s maximum file upload size, you should check the current limit set by your hosting provider. There are multiple ways to do this!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"check-via-media-library\">Check via Media Library<\/h3>\n\n\n\n<p>Go to your WordPress dashboard, navigate <strong>Media \u2192 Library<\/strong>, and click the <strong>Add New Media File<\/strong> button. This will open the media uploader, where you\u2019ll see the maximum file upload size displayed below the &#8220;<strong>Select Files<\/strong>&#8221; button.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d04ac7bede1&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d04ac7bede1\" class=\"wp-block-image alignwide size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1896\" height=\"907\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/media-library-file-upload-limit.jpg\" alt=\"\" class=\"wp-image-12663\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Alternatively, you can go directly to <strong>Media \u2192 Add New<\/strong>, where the maximum upload file size will also be displayed at the bottom of the page. Your web hosting provider determines this limit, so different hosting services may display different values.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"check-via-site-health-info\">Check via Site Health Info<\/h3>\n\n\n\n<p>Go to <strong>Tools \u2192 Site Health \u2192 Info<\/strong> and expand the <strong>Media Handling<\/strong> section. Here, you\u2019ll find the &#8220;<strong>Max size of an uploaded file<\/strong>&#8221; value, representing your site\u2019s current upload limit.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d04ac7bf4b1&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d04ac7bf4b1\" class=\"wp-block-image alignwide size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1895\" height=\"908\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/site-health-media-handling-max-size-upload-file.jpg\" alt=\"\" class=\"wp-image-12664\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>You can also check under the <strong>Server<\/strong> section, where you\u2019ll find the Upload max file size setting.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"check-via-hosting-provider-support\">Check via Hosting Provider Support<\/h3>\n\n\n\n<p>If you are unsure about your maximum upload size or need confirmation, check your hosting provider\u2019s documentation or contact their support team.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-to-increase-maximum-file-upload-size\">How to Increase Maximum File Upload Size<\/h2>\n\n\n\n<p>Let\u2019s say your current file upload limit is 2MB. If you need to upload larger files, such as high-resolution images, videos, or backups, you may need to increase this limit to 50MB or more. Here are the steps you need to take:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"take-a-backup-before-proceeding-must-do\">Take a Backup Before Proceeding (MUST DO)<\/h3>\n\n\n\n<p>In the following tutorial, you will be modifying your website\u2019s core files like <strong>php.ini<\/strong>, <strong>.htaccess<\/strong>, or <strong>wp-config.php<\/strong>. One misstep can cause unexpected issues on your site.<\/p>\n\n\n\n<p>So, before making any changes to your website&#8217;s files, taking a complete backup is <strong>crucial<\/strong>. Having a backup ensures you can restore your site if anything goes wrong. You can use a plugin like <a href=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/advanced-tutorials\/backing-up-restoring-your-website\/\">WPVivid<\/a>, UpdraftPlus or BackupBuddy, or take a manual backup via your hosting control panel.<\/p>\n\n\n\n<p>Once you have the backup, proceed with the steps below.<\/p>\n\n\n\n<p><em>Read another great guide about <a href=\"https:\/\/creativethemes.com\/blocksy\/blog\/woocommerce-page-speed-optimization\/\">WooCommerce Page Speed Optimization<\/a>.<\/em><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-contact-your-hosting-provider\">1. Contact Your Hosting Provider<\/h3>\n\n\n\n<p>One of the easiest and safest ways to increase the maximum file upload size in WordPress is to reach out to your hosting provider. Most hosting companies can quickly adjust this setting for you.<\/p>\n\n\n\n<p><strong>Log in <\/strong>to your hosting provider&#8217;s website (e.g., Bluehost, SiteGround, or Hostinger). Locate the <strong>Live Chat <\/strong>or Support option and <strong>request an increase <\/strong>in the maximum file upload size.<\/p>\n\n\n\n<p>This method is the simplest for beginners, as it avoids manual code changes.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-use-a-word-press-plugin\">2. Use a WordPress Plugin<\/h3>\n\n\n\n<p>If you&#8217;re uncomfortable editing server files, you can use a plugin to increase the upload limit.<\/p>\n\n\n\n<p><strong>Install and activate<\/strong> the \u201c<a href=\"https:\/\/wordpress.org\/plugins\/wp-maximum-upload-file-size\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">MaxUploader \u2013 Increase Media Upload File Size<\/a>\u201d plugin. Then, navigate to <strong>Media \u2192 Increase Upload Limit<\/strong>, select a <strong>new file size<\/strong> from the dropdown, and click Save Changes.<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-full\"><a href=\"https:\/\/creativethemes.com\/blocksy\/?attachment_id=12666\"><img loading=\"lazy\" decoding=\"async\" width=\"1896\" height=\"909\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/maxuploader-increase-upload-file-size-plugin-settings.jpg\" alt=\"\" class=\"wp-image-12666\"\/><\/a><\/figure>\n\n\n\n<p>You can also use alternative plugins like &#8220;<a href=\"https:\/\/wordpress.org\/plugins\/tuxedo-big-file-uploads\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Big File Uploads<\/a>&#8221; and &#8220;<a href=\"https:\/\/wordpress.org\/plugins\/wp-upload-size\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">WP Upload Size<\/a>&#8221; to achieve the same result.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-create-or-edit-the-php-ini-file\">3. Create or Edit the php.ini File<\/h3>\n\n\n\n<p>Another way to increase the upload size is by modifying the <strong>php.ini file<\/strong>, which controls your server&#8217;s PHP settings.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"editing-using-hosting-c-panel\">Editing Using Hosting cPanel:<\/h4>\n\n\n\n<p>Log in to your hosting control panel (<strong>cPanel<\/strong>), navigate to <strong>MultiPHP INI Editor<\/strong> under the Software section, find \u201c<code>upload_max_filesize<\/code>\u201d and \u201c<code>post_max_size<\/code>\u201d and enter the desired values (e.g., 256M). Click <strong>Apply<\/strong> to save the changes.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d04ac7bfe3d&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d04ac7bfe3d\" class=\"wp-block-image alignwide size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1896\" height=\"907\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/namecheap-upload-post-max-size.jpg\" alt=\"\" class=\"wp-image-12668\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"manually-editing\">Manually Editing:<\/h4>\n\n\n\n<p>If your host does not provide a cPanel editor, you can manually edit the <strong>php.ini file<\/strong>. Connect to your website via an <strong>FTP client<\/strong> or <strong>File Manager<\/strong> in your hosting control panel. Locate or create a <strong>php.ini file<\/strong> in your site&#8217;s root directory.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d04ac7c029a&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d04ac7c029a\" class=\"wp-block-image alignwide size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"987\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/edit-php.ini-using-filezilla.jpg\" alt=\"\" class=\"wp-image-12669\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><strong>Add or modify<\/strong> the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>upload_max_filesize = 256M\npost_max_size = 256M\nmax_execution_time = 300\nmemory_limit = 256M<\/code><\/pre>\n\n\n\n<p><strong>Save<\/strong> the file, and that\u2019s it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-modify-the-htaccess-file\">4. Modify the .htaccess File<\/h3>\n\n\n\n<p>The .htaccess file controls your server configurations, and adding a few lines of code can increase the upload limit. <em>This method only works on Apache servers, not on Nginx.<\/em><\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d04ac7c06e3&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d04ac7c06e3\" class=\"wp-block-image alignwide size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1918\" height=\"964\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/edit-htaccess-using-filezilla.jpg\" alt=\"\" class=\"wp-image-12670\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Connect to your website using an <strong>FTP client<\/strong> or <strong>File Manager<\/strong>. Locate the <strong>.htaccess file <\/strong>in the root directory, open it, and <strong>add <\/strong>the following lines at the end:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php_value upload_max_filesize 256M\nphp_value post_max_size 256M\nphp_value max_execution_time 300\nphp_value max_input_time 300\nphp_value memory_limit 256M<\/code><\/pre>\n\n\n\n<p><strong>Save <\/strong>the file and check if the changes take effect.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong><em>Note: <\/em><\/strong><em>We are not covering Nginx because modifying upload limits on Nginx requires server-level configuration changes, which can be complex and vary depending on the hosting provider.<\/em><\/p>\n\n\n\n<p><em>If you&#8217;re using Nginx, it&#8217;s best to follow one of the other methods listed in this article, such as contacting your hosting provider or using a plugin.<\/em><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"increase-maximum-upload-file-size-in-a-multisite-optional\">Increase Maximum Upload File Size in a Multisite (Optional)<\/h3>\n\n\n\n<p>If you&#8217;re running a WordPress Multisite network, you can modify the maximum upload file size for your network. Here\u2019s how:<\/p>\n\n\n\n<p>Head to your Network Admin dashboard and navigate to <strong>Settings \u2192 Network Settings<\/strong>. Scroll down to the <strong>Upload Settings<\/strong> section, locate the <strong>Max upload file size field,<\/strong> and <strong>enter a higher value<\/strong>. Then, click <strong>Save <\/strong>Changes.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d04ac7c0c83&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d04ac7c0c83\" class=\"wp-block-image alignwide size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1897\" height=\"905\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2025\/02\/wordpress-multisite-max-upload-file-size.jpg\" alt=\"\" class=\"wp-image-12671\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong><em>Note: <\/em><\/strong><em>You cannot exceed the server-level max upload size limit from here. If the limit you set exceeds the server&#8217;s maximum upload size, the server will ignore it. You may need to use one of the other methods above to modify your server settings.<\/em><\/p>\n\n\n\n<p><em>WordPress Multisite default sets the max upload file size to 1500 KB (~1.5 MB). You can increase this limit if it does not exceed your server&#8217;s limit.<\/em><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>While WordPress sets default limits to maintain security and server performance, you can increase these limits when necessary by <strong>contacting your hosting provider, modifying server files, or using a plugin<\/strong>.<\/p>\n\n\n\n<p>However, before making changes, <strong>it&#8217;s essential to weigh the pros and cons<\/strong>, considering factors like server load, page speed, and security risks. If increasing the upload size is unavoidable, optimizing files and using external storage solutions (such as Amazon S3, Google Drive, or a content delivery network) can help manage large files without overloading your server.<\/p>\n\n\n\n<p>That\u2019s it for this one, folks. If you have any questions about how to increase the maximum file upload size in WordPress, leave us a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you looking for ways to increase your WordPress website&#8217;s maximum file upload size? The maximum file upload size on WordPress websites is determined by your hosting server&#8217;s PHP configuration, which can range from just a few megabytes to several hundred.&nbsp; However, if you frequently upload large images, videos, themes, or plugins, you might find [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12701,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[23],"tags":[35],"class_list":["post-12659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-website"],"blocksy_meta":{"header_scripts":"<style>\n\nfigure > img {\nbox-shadow: 0px 0px 50px -10px rgba(0,0,0,0.1);\nborder: 0.5px solid #EAEAEA;\n}\n\n<\/style>","styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/posts\/12659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=12659"}],"version-history":[{"count":10,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/posts\/12659\/revisions"}],"predecessor-version":[{"id":12710,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/posts\/12659\/revisions\/12710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media\/12701"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=12659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/categories?post=12659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/tags?post=12659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}