When SSL is disabled all domains when typed appear as written below:
example.com
http://example.com
www.example.com
http://www.example.com
When SSL is enabled and forced on all pages:
example.com
http://example.com
www.example.com
http://www.example.com
^ ALL redirect to
https://www.example.com/index.php
The https://www.example.com is correct but index.php is being appended, for seo purposes I'd like this removing, not the *page* index.php as assumed in an older thread, just the url.
I've had a look at the .htaccess but cannot find any reference to index.php being forced on the domain.
I could write a redirect from /index.php to the root of the domain, but it feels like an extra redirect on a redirect. I'd rather fix the initial redirect.
E.G currently http://example.com is classed as a redirect to https://example.com/index/php so rather than adding another redirect to a redirect, I'd rather fix the first one thats sending the user to /index.php.
A lot of redirects lol
Thanks in advance