htaccess file keeps changing by itself? (2 posts)

  1. ultramel
    Posted 2 years ago #

    good day

    My .htaccess file keeps changing, and when it changes, the website reports an internal server error and the website goes offline?

    The htaccess file is supposed to be like this:

    <Limit GET POST>
    order deny,allow
    # BEGIN WordPress
    # END WordPress

    however it keeps changing itself to:

    # BEGIN WordPress
    # END WordPress

    how can I prevent it from changing by itself? as each time it happens my website goes offline?

    any help would be greatly appreciated
    thank you

  2. MickeyRoush
    Posted 2 years ago #

    You'll need to set the file permission to 444 or something similar.

Topic Closed

This topic has been closed to new replies.

About this Topic