Hey,
the goal I wanted to reach with the redirect is to redirect from any address that begins with www (www.domain.com/something) to an address without www (domain.com/something) and it works. The https fragment in the RewriteRule is not necessary, the server forces everything to go through https anyway.
As I said, I'm not familiar with .htaccess syntax etc., I didn't write these two lines of code, I copied them from this site:
https://www.balbooa.com/knowledgebase/3 ... to-non-www (btw this is not an ad, I have nothing to do with this website).
Is it possible to alter it to make it work, or maybe add an exclusion to /administrator/ or something like that?
Also thanks for all the insight You already gave me.