Does anyone have the setttings from the .htaccess file to remove www from my url?
I've tried using some of the settings in the internet but it gives me a redirect loop. I need something that prevents a redirect loop.
this would really help me. thank you
You can put this code in your htaccess
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
If you're still having a redirect loop: