New WordPress Won’t Upload Themes

WordPress is well-known as a content management system that is very easy to install and use. Yet, sometimes you might find yourself frustrated with an error that does not seems logical at all.
Not being able to upload your theme can be a strange problem and we are going to cover the most common problems regarding theme uploading on the newest WordPress release.


Also Read Update My WordPress to WordPress 5.4 Doesn’t Work.


Uploading Wrong Format

Uploading Wrong Format image

If you are trying to upload a format different from .zip, you will encounter an error message. WordPress theme uploader does not expect anything else than a .zip file, so a .rar won’t work. If you have your theme in a .rar format, right-click on the archive, go to Archive format, change it to ZIP and save it. Then you will be able to upload your theme.

Exceeded Memory Limits

Exceeded Memory Limits image

Some hosting providers have limitations in the memory limits that they provide and thus if your theme exceeds these limits, the installation process will crash and throw an error “Fatal Error: Allowed memory size of … bytes exhausted”. Still, if you face this issue don’t worry.
There are two easy ways to fix this.
1) Go to your cPanel and change the Memory Limit field to 256M, save and you are done.
2) Log into your hosting with any FTP software, open your wp-config.php file with some text editor, and add this line of code :
define( ‘WP_MEMORY_LIMIT’, ‘256M’ ); Save and exist. Your issue should be fixed.

File Size Limits Exceeded

File Size Limits Exceeded image

Similarly to the memory, the file size limits can be easily exceeded with some hosting plans. If you exceed your file size limitations you will face an error that looks like “The uploaded file exceeds the upload_max_filesize directive in php.ini“. To fix this issue, go to your wp-admin folder and find the php.ini file. If you can’t see such a file, create a new text file with a notepad and save it with the name of php.ini. Then open it and add the following code to it: upload_max_filesize = 1000M.
This will increase the bytes that you can upload to your WordPress and you will be able to freely upload your themes or plugins.
HTTP redirect status code must be a redirection code
The “HTTP redirect status code must be a redirection code, 3xx” error sometimes occurs among WordPress installations. The 3xx redirection means – further action needs to be taken to complete the request”.

All of the 3xx errors are considered redirection messages. These codes indicate that your browser should take additional actions to complete your request and access your desired destination. The easiest way to fix this problem will be to call your hosting provider for further investigation and they will be able to advise you or fix it for you.
Still, if you want to try to fix it by yourself, we would suggest a few things that you can try.

Tips and Tricks

First off, install the Site Health plugin and run it so it can check for issues and give you some information that might be helpful for you in terms of fixing.
Another thing that you can try is to open the /public_html folder of your website and search for .htaccess file. The default .htaccess file should look like:
“IfModule mod_rewrite.c”

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

“/IfModule”

If you see anything strange in yours, make a copy of it so you have a backup, delete everything and paste the code that we provided. Save it and exit. This should fix any .htaccess related issues.

Researched and created by:
Krum Popov
Passionate web entrepreneur, has been crafting web projects since 2007. In 2020, he founded HTH.Guide — a visionary platform dedicated to streamlining the search for the perfect web hosting solution. Read more...
Technically reviewed by:
Metodi Ivanov
Seasoned web development expert with 8+ years of experience, including specialized knowledge in hosting environments. His expertise guarantees that the content meets the highest standards in accuracy and aligns seamlessly with hosting technologies. Read more...

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.
I Agree
At HTH.Guide, we offer transparent web hosting reviews, ensuring independence from external influences. Our evaluations are unbiased as we apply strict and consistent standards to all reviews.
While we may earn affiliate commissions from some of the companies featured, these commissions do not compromise the integrity of our reviews or influence our rankings.
The affiliate earnings contribute to covering account acquisition, testing expenses, maintenance, and development of our website and internal systems.
Trust HTH.Guide for reliable hosting insights and sincerity.