Hi there, I realize there are already 10000 topics about this but I’ve found nothing that works.
I just installed an SSL certificate on an EC2 instance and now:
http://www.domain.com works,
https://www.domain.com works,
http://www.domain.com/login works
but….
https://www.domain.com/login gives me a 404 file not found but if I go to
https://www.domain.com/index.php/login everything is fine.
So all I’m looking to do is remove index.php from my HTTPS urls. I’m using the typical .htaccess at the moment:
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php
RewriteCond $1 !\.(gif|jpe?g|png|ico)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
# If 404s, "No Input File" or every URL returns the same thing
# make it /index.php?/$1 above (add the question mark)
</IfModule>Any help on this?