{"id":281,"date":"2023-07-07T04:15:30","date_gmt":"2023-07-06T22:45:30","guid":{"rendered":"https:\/\/www.hostbet.in\/blog\/?p=281"},"modified":"2025-01-24T14:38:55","modified_gmt":"2025-01-24T09:08:55","slug":"how-to-increase-upload-size-limit-in-wordpress","status":"publish","type":"post","link":"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/","title":{"rendered":"How to Increase Upload Size Limit in WordPress 2025"},"content":{"rendered":"\n<p>Are you having trouble uploading large files to your WordPress Website? Have you been facing an error message stating that the file&#8217;s size exceeds the upload limit?<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Increase_Upload_Size_Limit\" title=\"Increase Upload Size Limit\">Increase Upload Size Limit<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Checking_the_Current_Upload_Size_Limit\" title=\"Checking the Current Upload Size Limit\">Checking the Current Upload Size Limit<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Modifying_the_htaccess_File\" title=\"Modifying the .htaccess File\">Modifying the .htaccess File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Increase_Upload_Size_Limit_Using_a_Plugins\" title=\"Increase Upload Size Limit Using a Plugins\">Increase Upload Size Limit Using a Plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Increasing_the_Upload_Size_Limit_via_phpini\" title=\"Increasing the Upload Size Limit via php.ini\">Increasing the Upload Size Limit via php.ini<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Conclusion\" title=\"Conclusion\">Conclusion<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#FAQ_Section_on_Increase_Upload_Size_Limit\" title=\"FAQ Section on Increase Upload Size Limit\">FAQ Section on Increase Upload Size Limit<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Will_increasing_the_upload_size_limit_affect_my_websites_speed\" title=\"Will increasing the upload size limit affect my website&#8217;s speed\">Will increasing the upload size limit affect my website&#8217;s speed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.hostbet.in\/blog\/how-to-increase-upload-size-limit-in-wordpress\/#Can_I_increase_the_upload_size_limit_without_accessing_server_files\" title=\"Can I increase the upload size limit without accessing server files?\">Can I increase the upload size limit without accessing server files?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Increase_Upload_Size_Limit\"><\/span>Increase Upload Size Limit<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Many WordPress website owners face this error when trying to upload large files. Here are several methods to help you Increase Upload Size Limit in WordPress. You need to follow these step-by-step guides.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.wordpress.com\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a> is the most powerful and widely used content management system (CMS) where users can easily create and manage their websites.&nbsp;To create WordPress site you need a domain name and a web hosting provider. HostBet is the best <a href=\"https:\/\/www.hostbet.in\/shared-hosting\"><strong>shared hosting in India<\/strong><\/a>. Whether you&#8217;re a beginner and thinking of starting a personal blog or running a small business website, HostBet&#8217;s shared hosting services deliver the perfect blend of affordability and quality, making them the go-to choice for the best shared hosting in India.<\/p>\n\n\n\n<p>However, WordPress restricts the size of files that can be uploaded to the media library by default. This restriction exists to ensure optimal website performance and to prevent server resource overload. Fortunately, there are many ways to increase this upload size limit, and here we will explore them in detail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Checking_the_Current_Upload_Size_Limit\"><\/span><strong>Checking the Current Upload Size Limit<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before Increase Upload Size Limit with using the below method , you need to check the current limit on your WordPress website. To do this, follow these simple steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1. Log in to your WordPress dashboard.<\/li>\n\n\n\n<li>2. Navigate to &#8220;Media&#8221; and click on &#8220;Add New.&#8221;<\/li>\n\n\n\n<li>3. Below the upload area, you will find the maximum upload file size allowed. Take note of this value.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Modifying_the_htaccess_File\"><\/span><strong>Modifying the .htaccess File<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Modifying the.htaccess file is a way to Increase Upload Size Limit. By modifying the.htaccess file, you can easily upload larger files. This method is suitable for users who don&#8217;t have access to the php.ini file. Follow these steps to modify the.htaccess file:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Connect to your server using an FTP client or file manager.<\/li>\n\n\n\n<li>Locate the.htaccess file in the root directory of your WordPress installation.<\/li>\n\n\n\n<li>Open the.htaccess file and add the following lines at the end:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>php_value upload_max_filesize 1024M\nphp_value post_max_size 1024M\nphp_value max_execution_time 300<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>4. Save the changes and close the .htaccess file.<\/li>\n\n\n\n<li>5. Refresh your WordPress dashboard and test uploading a file to check if the upload size limit has been increased.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Increase_Upload_Size_Limit_Using_a_Plugins\"><\/span><strong>Increase Upload Size Limit<\/strong> <strong>Using a Plugin<\/strong>s<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Another method is to Increase Upload Size Limit using plugins. There are many plugins available that can help you increase the upload size limit in WordPress. These plugins provide a user-friendly interface to adjust the limit without the need for manual coding. Some popular plugins for this purpose include &#8220;Increase Maximum Upload File Size&#8221; and &#8220;WP Maximum Upload File Size.&#8221;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1. Log in to your WordPress dashboard.<\/li>\n\n\n\n<li>2. Navigate to &#8220;Plugins&#8221; and click on &#8220;Add New.&#8221;<\/li>\n\n\n\n<li>3. Search for the desired plugin using the provided search bar.<\/li>\n\n\n\n<li>4. Install and activate the plugin.<\/li>\n\n\n\n<li>5. Access the plugin&#8217;s settings and locate the option to increase the upload size limit.<\/li>\n\n\n\n<li>6. Enter your desired limit and save the changes.<\/li>\n\n\n\n<li>7. Test uploading a file to confirm that the upload size limit has been increased.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Increasing_the_Upload_Size_Limit_via_phpini\"><\/span><strong>Increasing the Upload Size Limit via php.ini<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The upload size limit is by modifying the php.ini file. However, please note that for this method you require access to your hosting cPanel. Here are steps that can help you&nbsp; do it: <\/p>\n\n\n\n<p>1. Locate the select PHP version in the software section<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"297\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_035024.jpg\" alt=\"Increase Upload Size Limit\" class=\"wp-image-304\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_035024.jpg 757w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_035024-300x118.jpg 300w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/figure>\n\n\n\n<p>2. Then click on Select PHP version<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"297\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040019.jpg\" alt=\"Increase Upload Size Limit\" class=\"wp-image-305\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040019.jpg 757w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040019-300x118.jpg 300w\" sizes=\"(max-width: 757px) 100vw, 757px\" \/><\/figure>\n\n\n\n<p>3. In the PHP selector, click on &#8220;options&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"320\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040054.jpg\" alt=\"Increase Upload Size Limit\" class=\"wp-image-306\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040054.jpg 653w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040054-300x147.jpg 300w\" sizes=\"(max-width: 653px) 100vw, 653px\" \/><\/figure>\n\n\n\n<p>4. Locate post_max_sieze and upload_max_filesize<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"272\" src=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040208.jpg\" alt=\"Increase Upload Size Limit\" class=\"wp-image-307\" srcset=\"https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040208.jpg 706w, https:\/\/www.hostbet.in\/blog\/wp-content\/uploads\/2023\/07\/IMG_20230707_040208-300x116.jpg 300w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/figure>\n\n\n\n<p>5. Change the values of `upload_max_filesize` and `post_max_size` to your desired limit. For example, to increase the limit to 64MB, use:<\/p>\n\n\n\n<p>6. Refresh your WordPress dashboard and test uploading a file to verify if the upload size limit has been increased.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Uploading large files to your WordPress website can be necessary, especially for media-rich content.&nbsp; By following the methods described in this article, you can increase the upload size limit and remove the restrictions imposed by the default settings.&nbsp; Whether you want to modify server-related files, use the functions.php file, or rely on plugins, it&#8217;s important to test the increased upload size limit and troubleshoot any issues that arise.<\/p>\n\n\n\n<p>Also,Read &#8211; How to Fix an <a href=\"https:\/\/www.hostbet.in\/blog\/fix-error-establishing-a-database-connection-wordpress\/\">Error Establishing a Database Connection WordPress<\/a> 2023<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQ_Section_on_Increase_Upload_Size_Limit\"><\/span>FAQ Section on Increase Upload Size Limit<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1688677531051\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Will_increasing_the_upload_size_limit_affect_my_websites_speed\"><\/span>Will increasing the upload size limit affect my website&#8217;s speed<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>While larger file uploads may take slightly longer to process, properly optimizing your website and server can help mitigate any potential impact on speed. Additionally, utilizing compression techniques and content delivery networks (CDNs) can further optimize file delivery.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1688677975100\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><span class=\"ez-toc-section\" id=\"Can_I_increase_the_upload_size_limit_without_accessing_server_files\"><\/span>Can I increase the upload size limit without accessing server files?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Yes, you can increase the upload size limit by using plugins or modifying the functions.php file in your WordPress theme. These methods allow you to adjust the limit without directly modifying server-related files<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Are you having trouble uploading large files to your WordPress Website? Have you been facing an error message stating that the file&#8217;s size exceeds the upload limit? Increase Upload Size Limit Many WordPress website owners face this error when trying to upload large files. Here are several methods to help you Increase Upload Size Limit [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":293,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[85],"tags":[88,86,87],"class_list":["post-281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-increase-maximum-upload-size-limit-in-wordpress","tag-increase-upload-size-limit","tag-max-upload-size-limit"],"_links":{"self":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts\/281"}],"collection":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":25,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":2615,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/posts\/281\/revisions\/2615"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/media\/293"}],"wp:attachment":[{"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostbet.in\/blog\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}