Over the last few months I’ve had sporadic random changes to the .htaccess files on my website.
I looked again today when I noticed that some of my sites I look after are behaving incorrectly.
The .htaccess file had been changed to this:
AddHandler x-mapp-php6 .php3 .php4 .php .phtml
More to the point, all of my changes were gone.
What caused it?
I have a hunch. The changes that occurred at various places on my website occured at pretty much exactly the same time as I added an additional domain to my package.
So the moral is, if you’re using 1and1 for hosting, and ever add a domain, they’ll break the rest of your websites.
I haven’t had any useful help from 1and1 on this. They’re claiming that someone is hacking my site, but the logs don’t show anything, so I think that’s unlikely to be the cause. My money’s on the hunch at the moment.