.htaccess changes self & causes 500 error (7 posts)

  1. GreyLiliy
    Posted 6 years ago #

    My .htaccess file has been changing itself at least once every other day causing my entire wp site to go down with a 500 Server Error.

    Usually, it just tacks some extra text at the end of the file (ex. 's' or 'sss' ) but sometimes it copies text and redistributes it (doubling lines, and other issues).

    The 500 error goes away as soon as I correct the text on my file, but it keeps changing by itself. I've contacted my web hosting provider and they've informed me that it is WordPress that is changing the file.

    I've been experiencing this since WP 2.8 and it survived the upgrade to 2.9. Since this problem isn't solved until I manually fix it (aka, when I notice - for example, it went down last night while I was sleeping and I couldn't fix it until this morning), my site has been suffering a lot of downtime.

    Has anyone found a solution to this problem? I've tried chmodding my .htaccess file and disabling plugins but nothing seems to work.

    Thank-you for your help and time!

  2. sergeson
    Posted 6 years ago #

    I just noticed my htaccess file changing on it's own. Is your host 1and1?

    It's quite annoying.

  3. FightSarcoma
    Posted 6 years ago #

    This is exactly what I am fighting right now. Host Gator is my host. Any ideas??? I have resorted to simply locking my site down until this is solved.

  4. ifingers
    Posted 6 years ago #

    My host is 1and1 and I have the same issue, which I think I have now resolved... (fingers crossed).

    I added this to my .htaccess file in the root of my WordPress install:
    AddType x-mapp-php5 .php
    I understand this forces WordPress to use php5 instead of the default php4 on my 1and1 setup.

  5. LehaLeha
    Posted 6 years ago #

    .htaccess file has been changing itself at least once every other day causing wp site to go down with a 500 Server Error.

    I have 3 sites like this. I must check those every day.

    All those 3 sites in a VPS with other 10 sites. The other 10 sites are fine.

    Anyone can help ?


  6. James Huff
    Support Representative
    Posted 6 years ago #

    Try decativating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

  7. nippi9
    Posted 5 years ago #

    I also have this problem....

    Anyone care to list their plugins so perhaps we can narrow down which one might be causing it?

Topic Closed

This topic has been closed to new replies.

About this Topic