Cześć
próbuje z takiej konstrukcji url:
https://www.domain.com/dir?index.php=1
usunąć www z SSL, w htaccess, mam:
RewriteCond %{HTTP_HOST} ^www\.(.+)
RewriteCond %{HTTPS}s/%1 ^(on(s)|offs)/(.+)
RewriteRule ^ https%2://%3%{REQUEST_URI} [L,R=301]
usuwa tylko https://wwwy wstawię https://www wówczas nie działa, zostaje, z google próbowałem też przykładu:
# remove www. (generic method with HTTPS support)
RewriteCond %{HTTP_HOST} ^www\.
RewriteCond %{HTTPS}s ^on(s)|off
RewriteCond http%1://%{HTTP_HOST} ^(https?://)(www\.)?(.+)$
RewriteRule ^ %1%3%{REQUEST_URI} [R,L]
Nic z tego, co z tym zrobić ?