Why did my Wordpress .htaccess file change or become corrupt?
July 6, 2009 3:02 PM
Subscribe
I have a Wordpress blog (v2.8) that sudden started displaying an Internal Server Error message. My host (Dreamhost) found a problem with my .htaccess file. I didn't do anything to cause the problem so I am wondering what happened and if it could happen again.
I "fixed" it by replacing it with one that does nothing. I am also wondering what the file should contain. I know what its purpose is, but not much more than that.
Here's the broken file:
# BEGIN WordPress
# END WordPress
ne On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# BEGIN WordPress
# END WordPress
I suspect that the 4th line should say "Rewrite Engine On".
I do have a fair number of active plug-ins, but the configuration has been stable for awhile.
posted by 14580 to computers & internet (4 comments total)
1 user marked this as a favorite
I replaced almost all of the plugins on my sites with hard code, which helped a lot.
And, it may be possible to give Wordpress more memory, by using this trick.
posted by ijsbrand at 3:11 PM on July 6