I'm looking for a rewrite phrase for Apache. I want to rewrite:
- all non-www http
- all www http
- all www https
requests to non-www https. Also the URL after .TLD/ should be preserved.
Example:
- http ://example.com/aaa/index.php
- https ://www.example.com/aaa/index.php
- http ://www.example.com/aaa/index.php should be redirected to https ://example.com/aaa/index.php
Thank you.
Aucun commentaire:
Enregistrer un commentaire