PHP – redirect https to http and www to non-www
How to redirect HTTPS to HTTP and www to non-www URL with .htaccess: First make sure HTTPS is working and valid. It’s easy (and free) to do with Let’s Encrypt these days. Note: Although you are redirecting HTTPS to HTTP, I’d recommend doing it the opposite, i.e. HTTP to HTTPS. Better for Security, SEO & … Read more