I ran a WooRank review on a site and received a " redirect to www" error. I have a link rel="canonical" on the site as follows: <link rel="canonical" href=" />, but it still doesn't like it. I've set up a .htaccess file but frankly don't know what's required in there. Content as follows:
The meta link and .htaccess file were not in place concurrently.
I've seen several other workarounds, but they're so confusing I just didn't know where to start with them.
Can anybody help?
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^thesiteinquestion.com/$ [NC,OR]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^[URL unfurl="true"]www.thesiteinquestion.com/$[/URL] [NC]
RewriteRule ^(.*)$ [URL unfurl="true"]http://www.jbsportsmassagetherapy.com/$1[/URL] [r=301,nc]
The meta link and .htaccess file were not in place concurrently.
I've seen several other workarounds, but they're so confusing I just didn't know where to start with them.
Can anybody help?