Hi everyone, i was trying to setup my website to redirect : - http to https - www to non-www As the redirect www . domain . ltd => domain . ltd configuration (in SEO redirect) didn't work, i tried to Apache Directives. I got the http redirection to work, but not the www. After copy pasting a bunch of things which didn't work, i realized that the modification i did in Apache Directives were not taken into account anymore. Even if i removed some previously added important config (which would normally break everything), the website kept working normally. I made sure that my cloudflare was in development mode (no cache). Any idea of a scenario in which modifications added (or removed) from Apache Directives would be ignored ? Thanks in advance.
I don't use cloudflare, but I think you have to set it in their interface: https://support.cloudflare.com/hc/e...rding-or-redirects-with-Cloudflare-Page-Rules
I do not think it is necessary to make changes at CF as you only need changes to vhost at your web server level and that can be done via ISPConfig website settings, however, you should check your vhost for its error file if the directives you set up are not working.
thanks, i tried with the cloudflare solution and it worked though, but i agree that ideally, a configuration on ispconfig side sounds cleaner