? 56634.diff Index: .htaccess =================================================================== RCS file: /cvs/drupal/drupal/.htaccess,v retrieving revision 1.70 diff -u -p -r1.70 .htaccess --- .htaccess 24 Mar 2006 18:00:27 -0000 1.70 +++ .htaccess 8 Apr 2006 09:02:16 -0000 @@ -51,6 +51,17 @@ DirectoryIndex index.php RewriteEngine on + # If your site can be accessed both with and without the prefix www. + # you can use one of the following settings to force user to use only one option: + # + # If you want the site to be accessed WITH the www. only, adapt and comment out the following: + # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] + # RewriteRule .* http://www.example.com/ [L,R=301] + # + # If you want the site to be accessed only WITHOUT the www. , adapt and comment out the following: + # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] + # RewriteRule .* http://example.com/ [L,R=301] + # Modify the RewriteBase if you are using Drupal in a subdirectory and # the rewrite rules are not working properly. #RewriteBase /drupal