Question
redirect 301 site all urls www to non-www with https in htaccess
I can't redirect my all website pages, in www
to non-www
and https
I use Laravel 11
I try this, but it's just work for my home page:
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
3 23
3