Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    • Archives

    • Recent comments

    Archive for March 23rd, 2007

    My blog is now no-www Class B

    23rd March 2007

    Update: WordPress 2.5+ does not require adding rewrite rules to .htaccess, as it now redirects the browser to the correct (configured) URL itself. However, if you would like the redirection to be made by apache’s mod_rewrite rather than by PHP’s header() instruction (which I suspect to be slower than mod_rewrite), then you can still use the instructions below. (Another consideration to stick to mod_rewrite is the presence of other software installed into the root of the same domain as the WP blog; mod_rewrite solution works for all, while WP’s own redirect works only for WP.)

    See important update at the end of this post!

    In the early days of my acquaintance with internet, I considered it obligatory to add the “www.” part in front of every site (domain) name. As a matter of fact, without those three mysterious letters most of the websites “didn’t work”.

    Now, nearly a decade later, it appears clear to me that the www part is redundant. But it was only today, that I finally switched my blog to the use of Class B no-www policy. Earlier it was Class A, the most common.
    Read the rest of this entry »

    Share

    Posted in Misc, Notepad, Web | 3 Comments »