I am really stuck at conversion of this beautiful htaccess script (rule) which force non-www to www url considering the http or https its perfectly working but I cant make it work opposite way from www to non-www can you please help me?
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
Thank you I am really stuck at those htaccess symbols!