[SAC] to www or not to www...
Jason Birch
Jason.Birch at nanaimo.ca
Mon Jan 15 12:44:23 EST 2007
Re-sending this...
I believe that this is important; we only want one presence.
http://foo.osgeo.org/ should not be returning the same content as
http://www.osgeo.org/
Jason
-----Original Message-----
From: sac-bounces at lists.osgeo.org [mailto:sac-bounces at lists.osgeo.org]
On Behalf Of Jason Birch
Sent: Thursday, January 11, 2007 14:28
To: sac at 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 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 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
More information about the Sac
mailing list