Viewing 2 replies - 1 through 2 (of 2 total)
  • Are you using the code from no-www.org? That’s what I used when my blog was up and it went fine.

    Put this in your .htaccess file.

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^www\.yourdomainhere\.com [nc]
    rewriterule ^(.*)$ https://yourdomainhere.com/$1 [r=301,nc]

    That should do the trick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘htaccess to send www to non www not working’ is closed to new replies.