I am using XAMPP, CodeIgniter and a SSL certificate from GoDaddy installed in our server. My htaccess configuration is the following:
RewriteEngine OnRewriteCond %{HTTPS} offRewriteCond %{HTTP_HOST} example\.com[NC]RewriteCond %{SERVER_PORT} 80RewriteRule ^(.*)$ https://example.com/$1 [R,L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule .* index.php/$0 [PT,L]
When I enter https://example.com in the browser, it works fine. Also if I put only www.example.com, but when I enter only http://example.com the page will not load. GoDaddy gave me support changing the htaccess file in many ways, but none worked.
Something about my apache configuration? SSL? XAMP?
I also cleared cache, used other computers and also phones (incognito and normal mode).