[SAC] to www or not to www...

Hi all,

I think that we should make requests to osgeo.org on port 80 redirect to www.osgeo.org <http://www.osgeo.org> to allow a more consistent image and to avoid offending the SEO gods...

If .htaccess files are allowed and mod_rewrite enabled, dumping something like this into an .htaccess file in www.osgeo.org 's <http://www.osgeo.org 's> document root should work:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www\.osgeo\.org [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*)$ http://www.osgeo.org/$1 [R=PERMANENT]

Jason

Ignoring, of course, the URL in angle-brackets <> that got inserted when my mail client's stupid HTML output got converted to plain text for the list.

At least the list is now stripping my msmail attachments.

Jason

________________________________

From: sac-bounces@lists.osgeo.org on behalf of Jason Birch
Sent: Thu 2007-01-11 2:28 PM
To: sac@lists.osgeo.org
Subject: [SAC] to www or not to www...

Hi all,

I think that we should make requests to osgeo.org on port 80 redirect to www.osgeo.org <http://www.osgeo.org> to allow a more consistent image and to avoid offending the SEO gods...

If .htaccess files are allowed and mod_rewrite enabled, dumping something like this into an .htaccess file in www.osgeo.org 's <http://www.osgeo.org 's> document root should work:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www\.osgeo\.org [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*)$ http://www.osgeo.org/$1 [R=PERMANENT]

Jason