Try Mailstrom: the faster, smarter, free way to Inbox Zero.

Replyz collects and amplifies questions from around the web, allowing a wider audience to answer them.

Share your knowledge and build your reputation by posting helpful replies.

Why does my .htaccess file keep getting corrupted on Dreamhost with Wordpress? #wordpress #wpgr #dreamhost

1:36PM Tue, June 21 2011

Vagrantradio_normal @vagrantradio Grand Rapids, Michigan

Are you managing it yourself, or doing through c-panel? Do you have a plugin installed that is over-writing it?

1:45PM Tue, June 21 2011

711wonn6ivv8ajdc3noq_normal @topher1kenobe GR MI

managing myself, and as far as I know no plugins should overwrite it. It ran fine in dev for months.

1:45PM Tue, June 21 2011

Vagrantradio_normal @vagrantradio Grand Rapids, Michigan

What's going on to corrupt it?

1:48PM Tue, June 21 2011

711wonn6ivv8ajdc3noq_normal @topher1kenobe GR MI

Bits get snipped out making mismatched tags, so I get a 500 on page loads.

1:50PM Tue, June 21 2011

Vagrantradio_normal @vagrantradio Grand Rapids, Michigan

I would try deleting it, copy your stuff to a new one, chmod 444. See what happens.

2:00PM Tue, June 21 2011

711wonn6ivv8ajdc3noq_normal @topher1kenobe GR MI

It was 644 when it corrupted this last time. :(

2:00PM Tue, June 21 2011

Vagrantradio_normal @vagrantradio Grand Rapids, Michigan

644 still has write access, 444 is read only.

2:02PM Tue, June 21 2011

Vagrantradio_normal @vagrantradio Grand Rapids, Michigan

Plus that adds another layer of security to your htaccess file.

2:04PM Tue, June 21 2011

711wonn6ivv8ajdc3noq_normal @topher1kenobe GR MI

yeah, but it's still disturbing that 644 let it happen, AND that something is trying to do it.

2:05PM Tue, June 21 2011

Vagrantradio_normal @vagrantradio Grand Rapids, Michigan

Then something within your install is trying to write to it. I've not once had that problem with DH after 7 or so years..

2:06PM Tue, June 21 2011

711wonn6ivv8ajdc3noq_normal @topher1kenobe GR MI

I never have either.

2:06PM Tue, June 21 2011

Manga_avatar_normal @AardvarkSagus

Mine seems to be fine, but I barely know how to use it!

2:09PM Tue, June 21 2011

guest80890 guest80890

i too face the same problem in my site http://ronylive.in i had a pluggin w3 which i disabled bt still the problm persists

6:49AM Tue, November 15 2011

711wonn6ivv8ajdc3noq_normal @topher1kenobe GR MI

set the privs on your file to 444.

7:05AM Tue, November 15 2011

guest34142 guest34142

I've just had the same problem. A couple of line-feeds were added at the start of the .htaccess file and one was removed: # BEGIN WordPress<IfModule mod_rewrite.c> I raised a ticket and got a reply some 10 hours later telling me about the htaccess corruption. This would have been rather hard to find unless it's something they see often. I don’t have the interest or the experience to fiddle with htaccess. I had not made recent changes to plugins or anything else for that matter.

7:29PM Mon, May 13

anonymous Anonymous

Write a Reply

Posting to Twitter as @ReplyzAnon (why?)

500 CHARS

You are not signed in. Create an account to get all the benefits of Replyz including no reCAPTCHA challenges. It's easy!

Like to reply? Try Flashcards

Flashcards is a quick and fun way to share your knowledge about topics you like to tweet about. Sign in with Twitter and we’ll show you questions you can’t resist!
Sign in with Twitter