If you're having trouble uploading large files to WordPress or any other application, you can easily increase the file size limit using the .htaccess
file.
Steps to Increase File Upload Size
Step 1:
Log in to your cPanel account.
Step 2:
Open File Manager from the cPanel dashboard.
Step 3:
Navigate to your website’s document root (usually /public_html/
) and locate the .htaccess
file.
Right-click on the file and choose “Edit”.
Step 4:
Add the following lines to the file, adjusting the values as needed:
Step 5:
Save the .htaccess
file.
That’s it! Your site can now handle larger file uploads based on the new limits you’ve set.
⚠️ Note: If you're on a shared hosting plan and these changes don't take effect, contact Bytesis Ltd. support to confirm if PHP settings can be modified via
.htaccess
.