How to make www redirect to non-www links in htaccess
When you need to redirect all requests from a www domain over to your non-www domain, it needs to be done on the .htaccess file. You can use this www-to-nonwww redirect generator to create the code. <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain.com$ RewriteRule (.*) https://domain.com/$1 [R=301,L] </IfModule> Siteground makes www redirects easy If you … Read more