Tag Archives | htaccess

Fatal error: Allowed memory size of 33554432 bytes exhausted

We were having trouble with a site’s memory limits. We had a dozen or so plugins running, but nothing out of the ordinary, and we kept hitting memory limits. What to do? Switch hosts.

Read full story Comments { 2 }

Moving WordPress from one sub-directory to another

I needed to move a site from the sub-directory /wordpress/to the new one /blog/. No worries: bit of an .htaccess file edit and I should be set, right? Not so fast.

Read full story Comments { 12 }

NextGen Gallery: upload_max_filesize

The fabulous NextGen Gallery was maxing (timing) out when uploading zip files. My server said it could only handle 2 MB uploads, so I went searching. Most help said to make changes to the .htaccess file, but I did that and I think my host has something set up (suexec or something) that doesn't allow [...]

Read full story Comments { 48 }

WordPress “comments” in .htaccess file

I didn't realize I needed the WordPress "comments" in the .htaccess file. I just learned the hard way as a site went down, I checked the .htaccess file (one of the first places I look for a 500 error) and it looked like this: PLAIN TEXT CODE: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond [...]

Read full story Comments { 1 }

Can’t Save/Publish Long Posts in WordPress

A few clients are running into trouble when trying to post/publish or even save very long posts (think: a few pages). I think I just found the answer and I posted it on the WordPress forums, but here's the code that needs to go into the .htaccess file: PLAIN TEXT PHP: SecFilterEngine Off SecFilterScanPOST Off

Read full story Comments { 17 }