{"id":7057,"date":"2017-11-22T09:36:19","date_gmt":"2017-11-22T09:36:19","guid":{"rendered":"https:\/\/weblizar.com\/blog\/?p=7057"},"modified":"2025-08-11T11:58:09","modified_gmt":"2025-08-11T06:28:09","slug":"how-to-increase-upload-file-size-in-wordpress","status":"publish","type":"post","link":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/","title":{"rendered":"How to Increase Upload File Size in WordPress"},"content":{"rendered":"<h2>What is media upload in WordPress?<\/h2>\n<p>In addition to uploading media files directly to your blog\u2019s Media Library, you can also upload, manage, and insert images, audio (with a Space Upgrade that comes as part of the WordPress.com Premium and Business plans) and video (with VideoPress) directly from your post or page editing screen using the (+) Insert Content icon.<\/p>\n<h2>What is default size for WordPress media upload?<\/h2>\n<p>2 MB<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Suggested Post:\u00a0<\/strong><\/span><a title=\"Why WordPress Websites are Better than Traditional Websites in 2017\" href=\"https:\/\/weblizar.com\/blog\/wordpress-websites-better-traditional-websites\/\" target=\"_blank\" rel=\"bookmark noopener\">Why WordPress Websites are Better than Traditional Websites in 2017<\/a><\/p>\n<h3><strong>The problem we are facing :<\/strong><\/h3>\n<p><strong>Many<\/strong> time we noticed we want to upload the file but we cannot upload a file in WordPress.Because WordPress has default upload file size is like as 2MB So the user , face this problem about file size upload.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7065 size-full aligncenter\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save0.png\" alt=\"\" width=\"1920\" height=\"886\" srcset=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save0.png 1920w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save0-300x138.png 300w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save0-768x354.png 768w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save0-1024x473.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>So you need to know that there is more than one way to upload your picture, theme or any other content to your WordPress.<\/p>\n<h3><strong>Three ways to upload files to WordPress:<\/strong><\/h3>\n<p>1. Log in to your hosting provider by accessing their online file manager.<br \/>\n2. Connect to your server via an FTP client like FileZilla.<br \/>\n3. Upload your media, themes, or plugin files directly from the WordPress Dashboard.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Suggested Post:<\/strong><\/span>\u00a0<a title=\"Build Your WordPress Website to Be SEO Friendly\" href=\"https:\/\/weblizar.com\/blog\/build-your-wordpress-website-to-be-seo-friendly\/\" target=\"_blank\" rel=\"bookmark noopener\">Build Your WordPress Website to Be SEO Friendly<\/a><\/p>\n<p>But in case if you want to upload images but not the plugin, the theme you can always upload them via a file manager. However, for all normal uploads, simply navigate to your desired location within the WordPress Dashboard and choose add\/upload file.<\/p>\n<h2><strong>How can we increase media upload file size?<\/strong><\/h2>\n<h3><strong>Solution &#8211; 1 Changes in php.ini file<\/strong><\/h3>\n<p>If you are using wamp server follow this.<\/p>\n<ol>\n<li>Got to your drive:\/wamp64\/bin\/apache\/apache2.4.23\/bin\/php.ini<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7067 size-full\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save2.png\" alt=\"increase upload file size in wordpress with php.ini file\" width=\"1336\" height=\"886\" srcset=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save2.png 1336w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save2-300x199.png 300w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save2-768x509.png 768w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save2-1024x679.png 1024w\" sizes=\"auto, (max-width: 1336px) 100vw, 1336px\" \/><\/p>\n<p>2. Open php.ini file in Text editor. and find <strong>&#8220;post_max_size&#8221; and &#8220;upload_max_filesize&#8221;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7069 size-full\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save4.png\" alt=\"increase upload file size in wordpress through php.ini file\" width=\"1575\" height=\"805\" srcset=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save4.png 1575w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save4-300x153.png 300w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save4-768x393.png 768w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save4-1024x523.png 1024w\" sizes=\"auto, (max-width: 1575px) 100vw, 1575px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7070 size-full\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save5.png\" alt=\"increase upload file size in wordpress through php file\" width=\"1577\" height=\"837\" srcset=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save5.png 1577w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save5-300x159.png 300w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save5-768x408.png 768w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save5-1024x543.png 1024w\" sizes=\"auto, (max-width: 1577px) 100vw, 1577px\" \/><\/p>\n<p>3. After set\u00a0&#8220;post_max_size&#8221; and &#8220;upload_max_filesize&#8221;\u00a0 save your php.ini file.<\/p>\n<p>4.\u00a0Go to your drive:\/wamp64\/bin\/php\/php5.6.25\/php.ini<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7063 size-full\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save1.png\" alt=\"increase upload file size in wordpress through php.ini\" width=\"1816\" height=\"930\" srcset=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save1.png 1816w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save1-300x154.png 300w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save1-768x393.png 768w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save1-1024x524.png 1024w\" sizes=\"auto, (max-width: 1816px) 100vw, 1816px\" \/><\/p>\n<p>5. Find\u00a0<strong>&#8220;post_max_size&#8221; and &#8220;upload_max_filesize&#8221; <\/strong>and set size\u00a0 according to your requirement.<\/p>\n<p>6.\u00a0After set\u00a0&#8220;post_max_size&#8221; and &#8220;upload_max_filesize&#8221;\u00a0 save your php.ini file.<\/p>\n<p>7. Restart your wamp server.<\/p>\n<p>8. Now this time is testing. First, clear your cache.<\/p>\n<p>9. Second Go to\u00a0\u00a0<strong>Media &gt; Add New<\/strong>. You should see the new upload limits. If you are on a dedicated server, you may need to restart your server to see the changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-7071 size-full\" src=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save6.png\" alt=\"media library increase upload file size in wordpress\" width=\"1920\" height=\"885\" srcset=\"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save6.png 1920w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save6-300x138.png 300w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save6-768x354.png 768w, https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/save6-1024x472.png 1024w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p>\n<p>If your server is running PHP 7, you may need to changes in. Go to your drive:\/wamp64\/bin\/php\/php7.0.10\/php.ini and follow same process is above.<\/p>\n<h3><strong>Solution 2 &#8211; Change .htaccess File<\/strong><\/h3>\n<p>Your .htaccess file is used to configure Apache server modules but can be used to control PHP values. Make sure you have a backup of the original .htaccess file in case things go sideways and you get the white screen of death. Simply upload your original .htaccess to revert back to normal.<\/p>\n<p>Open your .htaccess file via FTP. Add these lines to the bottom of the file, save and upload back to the server.<\/p>\n<pre>php_value upload_max_filesize 64M\r\nphp_value post_max_size 64M\r\nphp_value max_execution_time 300\r\nphp_value max_input_time 300\r\n<\/pre>\n<p>Go back to the\u00a0<strong>Media &gt; Add New<\/strong>\u00a0screen to see if your changes have taken effect. If things go bad in any way, upload your original file<code>.htaccess<\/code>.<\/p>\n<h2>Summary<\/h2>\n<ol>\n<li>After this tutorial you can see,\u00a0increasing the WordPress maximum upload file size is not difficult<\/li>\n<li>\u00a0The main term is where and\u00a0which commands to use for simplifying increasing upload file size.<\/li>\n<li>\u00a0Hopefully, now you understand a little better on how to change and adjust the settings for your WordPress site. If you\u2019ve had a particularly stubborn case of file size limits being stuck let us know how you managed to fix it, as each host and server can be set up differently.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>What is media upload in WordPress? In addition to uploading media files directly to your blog\u2019s Media Library, you can also upload, manage, and insert images, audio (with a Space Upgrade that comes as part of the WordPress.com Premium and Business plans) and video (with VideoPress) directly from your post or page editing screen using<\/p>\n","protected":false},"author":5,"featured_media":7084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[24],"tags":[1137,1136,1135,1134],"class_list":["post-7057","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-word-press","tag-change-file-size-in-wordpress","tag-file-size-in-wordpress","tag-how-to-increase-file-size-in-wordpress","tag-increase-file-size"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Increase Upload File Size in WordPress - Weblizar Blog<\/title>\n<meta name=\"description\" content=\"This is a basic issue many WordPress users face initially. Learn how to increase upload file size in WordPress through changes in .htaccess and php.ini file.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase Upload File Size in WordPress - Weblizar Blog\" \/>\n<meta property=\"og:description\" content=\"This is a basic issue many WordPress users face initially. Learn how to increase upload file size in WordPress through changes in .htaccess and php.ini file.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Weblizar Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/weblizarwp\" \/>\n<meta property=\"article:published_time\" content=\"2017-11-22T09:36:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-11T06:28:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-Increase-Upload-File-Size-in-WordPress.jpg?fit=900%2C563&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"563\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Danish Ansari\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@weblizar\" \/>\n<meta name=\"twitter:site\" content=\"@weblizar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Danish Ansari\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Increase Upload File Size in WordPress - Weblizar Blog","description":"This is a basic issue many WordPress users face initially. Learn how to increase upload file size in WordPress through changes in .htaccess and php.ini file.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase Upload File Size in WordPress - Weblizar Blog","og_description":"This is a basic issue many WordPress users face initially. Learn how to increase upload file size in WordPress through changes in .htaccess and php.ini file.","og_url":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/","og_site_name":"Weblizar Blog","article_publisher":"http:\/\/www.facebook.com\/weblizarwp","article_published_time":"2017-11-22T09:36:19+00:00","article_modified_time":"2025-08-11T06:28:09+00:00","og_image":[{"width":900,"height":563,"url":"https:\/\/i0.wp.com\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-Increase-Upload-File-Size-in-WordPress.jpg?fit=900%2C563&ssl=1","type":"image\/jpeg"}],"author":"Danish Ansari","twitter_card":"summary_large_image","twitter_creator":"@weblizar","twitter_site":"@weblizar","twitter_misc":{"Written by":"Danish Ansari","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/"},"author":{"name":"Danish Ansari","@id":"https:\/\/weblizar.com\/blog\/#\/schema\/person\/d317218747ba5e5aa51886062ac0b628"},"headline":"How to Increase Upload File Size in WordPress","datePublished":"2017-11-22T09:36:19+00:00","dateModified":"2025-08-11T06:28:09+00:00","mainEntityOfPage":{"@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/"},"wordCount":620,"commentCount":0,"image":{"@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-Increase-Upload-File-Size-in-WordPress.jpg","keywords":["change file size in wordpress","file size in wordpress","how to increase file size in wordpress","increase file size"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/","url":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/","name":"How to Increase Upload File Size in WordPress - Weblizar Blog","isPartOf":{"@id":"https:\/\/weblizar.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-Increase-Upload-File-Size-in-WordPress.jpg","datePublished":"2017-11-22T09:36:19+00:00","dateModified":"2025-08-11T06:28:09+00:00","author":{"@id":"https:\/\/weblizar.com\/blog\/#\/schema\/person\/d317218747ba5e5aa51886062ac0b628"},"description":"This is a basic issue many WordPress users face initially. Learn how to increase upload file size in WordPress through changes in .htaccess and php.ini file.","breadcrumb":{"@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#primaryimage","url":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-Increase-Upload-File-Size-in-WordPress.jpg","contentUrl":"https:\/\/weblizar.com\/blog\/wp-content\/uploads\/2017\/11\/How-to-Increase-Upload-File-Size-in-WordPress.jpg","width":900,"height":563,"caption":"How to Increase Upload File Size in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/weblizar.com\/blog\/how-to-increase-upload-file-size-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/weblizar.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Increase Upload File Size in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/weblizar.com\/blog\/#website","url":"https:\/\/weblizar.com\/blog\/","name":"Weblizar Blog","description":"Update yourself with all the latest tech news revolving around wordpress all at one place","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/weblizar.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/weblizar.com\/blog\/#\/schema\/person\/d317218747ba5e5aa51886062ac0b628","name":"Danish Ansari","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8578053f8112ac6a0c136fbc87a10af48375433622bcb3df612e573bd2513ef6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8578053f8112ac6a0c136fbc87a10af48375433622bcb3df612e573bd2513ef6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8578053f8112ac6a0c136fbc87a10af48375433622bcb3df612e573bd2513ef6?s=96&d=mm&r=g","caption":"Danish Ansari"}}]}},"_links":{"self":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/posts\/7057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/comments?post=7057"}],"version-history":[{"count":0,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/posts\/7057\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/media\/7084"}],"wp:attachment":[{"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/media?parent=7057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/categories?post=7057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weblizar.com\/blog\/wp-json\/wp\/v2\/tags?post=7057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}