Remove WWW. From Url & Force Https

Share Now

Share on facebook
Share on pinterest
Share on twitter
Share on linkedin
Share on email

Add this code to .htaccess file

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1%{REQUEST_URI} [R=301,QSA,NC,L]
Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert