newsphiles


observing alleged reality

Hardware: the parts of a computer that can be kicked. - Jeff Pesis

Random Wisdom
| home | about | search video | blog | Links Exchange | Submit Link | Contact | |
  • Register
  • | Log in | Bookmark Newsphiles syndicated feed for LIVE updates

    computer_waste.jpgQubetech.net inserted a small snippet into our .htaccess file making our site class B (no-www approved).

    That means that all of the traffic to http://www.qubetech.net is silently redirected to http://qubetech.net. We prefer the no-www classification! It doesn’t inconvenience our users and it confirms the deprecated nature of the www subdomain.

    If you, being in the position of webmaster, think this sounds like the right thing to do the Class B conversion is quite simple. All you need to do is to put the following code snippet into your .htaccess file located in the root directory of your site (changing the red text to match your domain).

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
    RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]

    For more information on this subject you should visit http://no-www.org/, where you will get a clear explanation and the possibility to add your site to a list of thousands who already changed (basically a really cool link to your site)

    And if you want a button on your site to use when blogging about the changes you’ve made, or whatever, I’ve put some options right here, that are free to use.

  • no www button
  • :::rich:::

    Leave a comment

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>