News for hackers. Stuff that matters.
Re:Poor Man's Scalability by sciurus on Saturday October 15, 2011 @04:48PM (#3115755)
A more efficient and search-engine friendly approach is to perform a 301 redirect. For a single site, in Apache this would look like

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

There are no comments on this comment yet.