• I have several websites configured as so:

    /home/myusername/public_html/mysupercoolwebsite1.com
    /home/myusername/public_html/mysupercoolwebsite2.com
    /home/myusername/public_html/mysupercoolwebsite3.com
    etc

    W3TC is installed on one of those, but it writes the .htaccess file in /home/myusername/public_html/ and it breaks the other sites… I tried removing the code from there and copying it to the proper file, but W3TC keeps on writing to it…
    I have tried changing the permissions on the .htaccess file, but then the whole website returns 403 Forbidden errors…

    Anyone knows how to tell W3TC to write to the proper htaccess file? WordPress itself writes to the good file, shouldn’t the plugins write to the same?

    Thanks

    https://www.ads-software.com/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • Thread Starter hugocentrique

    (@hugocentrique)

    Sorry, right after posting it struck me that when I changed permissions, I made a mistake. I had changed them for 600 whereas it needed to be 444. Duh!

    Then W3TC complains that it doesn’t have the FTP credentials to write to the htaccess file, but at least it doesn’t break my sites!

Viewing 1 replies (of 1 total)
  • The topic ‘W3 Total Cache writing to the wrong .htaccess file’ is closed to new replies.