Zum Inhalt springen
Jetpack

Einzelne Produkte

Sicherheit
VaultPress Backup Scan Akismet Anti-spam
Performance
Website-Suche Boost VideoPress
Wachstum
Stats Social Newsletter SEO Blaze CRM
Verwaltung
Manage Mobile App

Produktpakete

Pro Tools für Sicherheit, Performance und Wachstum für deine WordPress-Website. Abgeschlossen Die vollständige Jetpack-Suite mit höheren Service-Limits.
Preise
Übersicht Was Jetpack AI für deine Website tut Skills WordPress-Superkräfte für deinen Agenten Dokumentation Deinen KI-Agenten verbinden und einrichten Erste Schritte ChatGPT, Claude oder einen Coding-Agenten verbinden Vergleichen Jetpack im Vergleich mit anderen WordPress-MCP-Konnektoren

Verbinde deinen KI-Agenten. Kostenlos.

Verbinde ChatGPT oder Claude und lass die KI deine Website betreiben – ohne kostenpflichtigen Tarif.

Für ChatGPT holen (wird in einem neuen Tab geöffnet) Oder nutze Claude (wird in einem neuen Tab geöffnet)
Support Anleitungen und Hilfe von unserem Team Dokumentation Anleitungen zu jeder Jetpack-Funktion Feature-Anfragen Request features and vote on ideas Blog Neuigkeiten, Produkt-Updates und Anleitungen
Über uns
Anmelden Erste Schritte
Sicherheit
VaultPress Backup Scan Akismet Anti-spam
Performance
Website-Suche Boost VideoPress
Wachstum
Stats Social Newsletter SEO Blaze CRM
Verwaltung
Manage Mobile App

Produktpakete

Pro Abgeschlossen
Preise
Übersicht Was Jetpack AI für deine Website tut Skills WordPress-Superkräfte für deinen Agenten Dokumentation Deinen KI-Agenten verbinden und einrichten Erste Schritte ChatGPT, Claude oder einen Coding-Agenten verbinden Vergleichen Jetpack im Vergleich mit anderen WordPress-MCP-Konnektoren

Verbinde deinen KI-Agenten. Kostenlos.

Verbinde ChatGPT oder Claude und lass die KI deine Website betreiben – ohne kostenpflichtigen Tarif.

Für ChatGPT holen (wird in einem neuen Tab geöffnet) Oder nutze Claude (wird in einem neuen Tab geöffnet)
Support Anleitungen und Hilfe von unserem Team Dokumentation Anleitungen zu jeder Jetpack-Funktion Feature-Anfragen Request features and vote on ideas Blog Neuigkeiten, Produkt-Updates und Anleitungen
Über uns Suchen
Anmelden Erste Schritte

Blog / Jetpack 101

How to Increase Maximum File Upload Size in WordPress

Avatar von Jen Swisher

Jen Swisher Februar 14, 2025 · 4 Min. Lesezeit


Auf dieser Seite

  1. Why the upload size limit matters
  2. How to check the file upload limit in WordPress
  3. Methods to increase the file upload size
  4. Testing the new upload size limit
  5. Troubleshooting common issues
  6. Tips for managing large files efficiently
  7. Enhance your WordPress experience with Jetpack

4 Min. Lesezeit

When managing a WordPress site, there are times that you might need to upload large files, like videos, high-resolution images, or plugins. But WordPress sets a default file upload size limit that may not meet your needs.

This guide will walk you through the process of increasing the maximum file upload size in WordPress efficiently and effectively.

Why the upload size limit matters

WordPress sets a default file upload limit to help with server stability and protect against resource overuse. However, this limit can restrict your ability to upload content like large media files, themes, and backups. Understanding this limitation helps you tailor your WordPress site to fit your specific needs.

How to check the file upload limit in WordPress

Before making changes, it’s important to determine the current upload limit on your site.

How to check your upload limit:

First, log in to your WordPress dashboard. Navigate to Media → Add new media file. The maximum upload size is displayed at the bottom of the page.

viewing the max file size when adding media to WordPress

Another option is to use the WordPress Site Health panel. In your dashboard, go to Tools → Site Health. At the top, select Info. 

Open the Media Handling section and find „Max size of an uploaded file.“

looking at the max file size in the Site Health panel

Methods to increase the file upload size

There are several methods to increase the upload size limit in WordPress. Each method is tailored for specific technical expertise levels and hosting environments.

1. Edit the .htaccess file

The .htaccess file controls the configuration settings for your server. Take care when editing this file, and always back up your site first. 

Steps to edit .htaccess:

  1. Access your WordPress root directory (often named public_html) via FTP or your hosting control panel’s File Manager.
  2. Locate the .htaccess file. If you don’t see it immediately, click the Show Hidden Files option in your file manager.
  3. Add the following code, adjusting the file sizes as needed:
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
  1. Save the file and refresh your WordPress site.

2. Update the php.ini file

The php.ini file defines PHP configurations, including upload limits. Take care when editing this file, and always back up your site first. 

Steps to update php.ini:

  1. Access your hosting control panel or server via FTP.
  2. Find or create a php.ini file in the root directory.
  3. Add or modify the following lines, adjusting the limits as needed:
upload_max_filesize = 128M

post_max_size = 128M

memory_limit = 256M

max_execution_time = 300

max_input_time = 300
  1. Save the changes. Restart your server if necessary.

Note:

Some shared hosting plans restrict direct access to php.ini. If you cannot find the file, you may need to ask your host’s support team to edit it for you.

3. Edit the wp-config.php file

The wp-config.php file contains essential WordPress settings. Take care when editing this file, and always back up your site first. 

Steps to update wp-config.php:

  1. Open the wp-config.php file in your root directory, using either FTP or your hosting’s control panel.
  2. Add the following lines, adjusting the limits as needed:
@ini_set('upload_max_filesize', '128M');

@ini_set('post_max_size', '128M');

@ini_set('memory_limit', '256M');

@ini_set('max_execution_time', '300');

@ini_set('max_input_time', '300');
  1. Save the file and refresh your WordPress site.

4. Adjust settings in your hosting control panel

Many hosting providers allow you to adjust PHP settings directly through their dashboard. This is an excellent option, as you don’t have to work with any code at all. We’ll include instructions for cPanel here, but if your host uses a different platform, check their documentation. 

  1. Log in to your cPanel through your hosting dashboard.
  2. Navigate to Select PHP Version or MultiPHP INI Editor.
  3. Modify the following values:
    • upload_max_filesize
    • post_max_size
    • memory_limit
    • max_execution_time
  4. Save your changes.

5. Use a WordPress plugin

Plugins are another excellent way to modify your maximum file upload size without having to work with code. While there are several you can choose from, these instructions are for the MaxUploader plugin. Keep in mind that this method depends on your hosting environment, and may not work for every situation.

  1. Install and activate the plugin.
  2. Navigate to Media → Increase Upload Limit.
  3. Choose your desired upload size limit and save.
choosing a maximum upload file size

6. Contact your hosting provider

If none of the above methods work, your hosting provider should be able to help. Simply open a support ticket or use your host’s live chat feature. Then, request an increase in upload_max_filesize and post_max_size limits. If you’d like, you can specify a target value.

Testing the new upload size limit

After making changes, verify that the new upload size limit is active.

  1. Return to Media → Add New in the WordPress dashboard.
  2. See if the displayed upload limit has increased.
  3. Test by uploading a file larger than the previous limit.

Troubleshooting common issues

If your changes don’t take effect, try these troubleshooting steps:

  • Clear caches. Clear your WordPress cache, browser cache, and any server-level caches.
  • Check your PHP version. Ensure that your site is using a PHP version that supports your desired configuration.
  • Look for syntax errors. Double-check any files that you edited manually for mistakes.
  • Check your hosting restrictions. Some shared hosting plans impose limits that you can’t override without upgrading your plan.

Tips for managing large files efficiently

  • Compress your image files. Use tools like ImageOptim to optimize images before uploading them. WordPress plugins like Jetpack Boost can also optimize images after they’re added to your site.
  • Leverage a CDN. A content delivery network (CDN) can better handle the distribution of large files, improving the performance of your site.
  • Enable GZIP compression. This can reduce file sizes for faster delivery.
  • Improve your video performance. Tools like Jetpack VideoPress take the weight of heavy video files off your server and can make a big difference in performance. 

Enhance your WordPress experience with Jetpack

Jetpack offers a comprehensive suite of tools designed to streamline your WordPress site. By integrating Jetpack, you can enhance security, performance, growth, and more.

Key features of Jetpack:

  • Security: Protect your site with real-time backups, malware scanning, spam protection, and more.
  • Performance: Improve site speed with a global content delivery network (CDN), optimize images for faster load times, and improve your Core Web Vitals.
  • Growth: Utilize advanced analytics, automated social media sharing, and AI-powered content creation to expand your audience.

By leveraging Jetpack, you can efficiently manage your WordPress site, allowing you to focus more on growing your business and less on all the technical details.

Learn more about Jetpack.

Like Lade …
Avatar von Jen Swisher

Written by

Jen Swisher

Jen is a Customer Experience Specialist for Jetpack. She has been working with WordPress and Jetpack for over a decade. Before starting at Automattic, Jen helped small businesses, local non-profits, and Fortune 50 companies create engaging web experiences for their customers. She is passionate about teaching others how to create on the web without fear.

Entdecke die Vorteile von Jetpack

Erfahre, wie Jetpack deine WordPress-Website schützen, beschleunigen und beim Wachstum unterstützen kann.

Tarife entdecken

Questions about this post? Ask in the support forum

Teilen


Keep reading.

More from Jetpack 101, newest first.

Alle Beiträge ansehen

Jetpack 101 Mär 31, 2026

WordPress Image SEO: 12 Techniques to Rank Higher & Load Faster

Are images helping or hurting your rankings? What can you do about it? 12 realistic ways to optimize your image strategy for more high-quality traffic.

Avatar von Jen Swisher Jen Swisher 14 Min. Lesezeit

Jetpack 101 Mär 26, 2026

WordPress Site Redirecting to Spam? Here’s How to Fix a Hacked Site

Uncover hidden malware, remove malicious code, and stop spam redirects fast — before they damage your reputation. Secure your WordPress site.

Avatar von Jen Swisher Jen Swisher 12 Min. Lesezeit

Jetpack 101 Mär 24, 2026

WordPress Form with File Upload: How to Create One in 3 Steps

How to create a secure file upload form in WordPress — fast. Add drag-and-drop uploads in just 3 simple steps. Plus, the top tool to keep…

Avatar von Jen Swisher Jen Swisher 5 Min. Lesezeit

Betreibe deine WordPress-Website KI-first.

Free to start, and AI agents are free to connect. Money back within 14 days on yearly plans.

Erste Schritte Jetpack kostenlos holen

WordPress-Plugins

  • Akismet Anti-Spam↗ (wird in einem neuen Tab geöffnet)
  • Jetpack↗ (wird in einem neuen Tab geöffnet)
  • Jetpack Boost↗ (wird in einem neuen Tab geöffnet)
  • Jetpack CRM↗ (wird in einem neuen Tab geöffnet)
  • Jetpack Protect↗ (wird in einem neuen Tab geöffnet)
  • Jetpack Search↗ (wird in einem neuen Tab geöffnet)
  • Jetpack Social↗ (wird in einem neuen Tab geöffnet)
  • Jetpack VideoPress↗ (wird in einem neuen Tab geöffnet)
  • VaultPress Backup↗ (wird in einem neuen Tab geöffnet)
  • WP Super Cache↗ (wird in einem neuen Tab geöffnet)
  • Herunterladen

KI

  • Jetpack AI
  • Skills
  • WordPress MCP

Partner

  • Partnerprogramm
  • Empfohlene Hosts
  • Für Hosts
  • Für Agenturen
  • Für Partner

Entwickler

  • Dokumentation↗ (wird in einem neuen Tab geöffnet)
  • Beta-Programm
  • Jetpack auf GitHub↗ (wird in einem neuen Tab geöffnet)

Hilfe

  • Wissensdatenbank
  • Foren↗ (wird in einem neuen Tab geöffnet)
  • Bewertungen und Erfahrungsberichte
  • Kontakt aufnehmen
  • Über Jetpack
  • Presse
Sprache auswählen Deutsch
  • English
  • Deutsch
  • Español
  • Français
  • 日本語

© 2026 Automattic Inc. Alle Rechte vorbehalten.

  • Nutzungsbedingungen↗ (wird in einem neuen Tab geöffnet)
  • Datenschutzerklärung↗ (wird in einem neuen Tab geöffnet)
  • DSGVO

Mit Sorgfalt erstellt von

Im App Store laden Bei Google Play herunterladen
Lade Kommentare …
  • Rebloggen
  • Abonnieren Abonniert
    Jetpack
    Schließe dich 53.352 anderen Abonnenten an

    Hast du ein WordPress.com-Konto? Melde dich jetzt an.

  • Jetpack
    Kurzlink kopierenBeitrag im Reader lesen
    Abonnements verwaltenRegistrierenAnmelden
    Melde diesen Inhalt
    Diese Leiste einklappen
%d