Forcing the www prefix with PHP/htaccess/mod_rewrite

Posted by DCD on Stack Overflow See other posts from Stack Overflow or by DCD
Published on 2010-03-27T01:26:38Z Indexed on 2010/03/27 1:33 UTC
Read the original article Hit count: 333

Filed under:
|
|
|

Is there an easy way (preferably with htaccess and mod_rewrite) to force the browser to always access a site with the www. prefix (adding it automatically where necessary?)

Thx.

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess