wordpress http error crunching .htaccess
The Problem:
Whenever I would try to upload an image to my blog the file would upload, but I would then get a red http error, as seen in this picture below:
With this error it wasn’t possible for me to choose the preset image size “medium”, which I configured to the width of one column. Here is what I’m talking about:
The Solution:
Just open your .htaccess file that is in the same folder as your wp-content folder:
and add “AddType x-mapp-php5 .php” to the top, as so:
Once you save that, you should be able to upload pictures without the error, and regain wordpress’s resizing feature.
I got this little snippet from errors when installing either joomla or drupal, so when this http error came up, I figured it couldn’t hurt if I add it to .htaccess for wordpress and it worked! Hopefully this helps, since online I didn’t see anyone else recommending this fix.
7 Responses to “wordpress http error crunching .htaccess”
Leave a Reply





Thank you so much! I’ve looked all over for a fix that actually works.
Correct you are ! Thank you very much. This is something I’ve had to add to almost all of my htaccess files, but had neglected to do with my wordpress powered sites. So many crazy answers on how to fix this problem, this is the right one (at least if you have Linux hosting)
Thanks again, saved me a lot of BS tonight
WOOOOOHOOOOO!! Thanks a million. Nothing else worked, but this one does.
THANKS!!! I’ve been bashing my head in looking online for solutions to this problem! Your method worked perfectly.
Do you know what to do if you don’t have a .htaccess file? I’m showing my hidden files on my computer and it’s just not there. Which is a huge bummer…because I think this is really the right solution!!
Beth,
When you were showing hidden files on your computer, you were looking at the folder on your server, where your WP blog is hosted right? I actually don’t know all that much about this, but I thought that the .htaccess file had to be there since wordpress installs it. Maybe this isn’t the case? If you are sure you are looking in the right folder, then with no certainty I would say that it can’t hurt to create the file with the mentioned contents above, and it might just fix your problem. Let me know!
Hmm…I tried creating the file but it looks like that didn’t do it either. Now I have the file but it does nothing! So strange.