David Beroff (d4b) wrote,
David Beroff
d4b

www 301-redirected to non-www

OK, I set up minimalistic web hosting, and then used an .htaccess file (below, as per http://no-WWW.org ) so that http://www.AboutTh.is now silently 301-redirects to http://AboutTh.is .
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
Tags: marketing, mtat, webdev
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments