|
Posted by Benjamin Niemann on August 4, 2005, 6:58 pm
Please log in for more thread options
dingbat@codesmiths.com wrote:
> I'm inclined to turn the flame-o-doom on and suggest that you write to
> Google and explain your solution to them, but then you seem to make
> nice boats so I won't 8-)
>
> These are two entirely separate sites. Maybe they're not different, but
> they are separate. As far as Google knows (as far as Google _can_
> know), then they're entirely separate.
>
> Why they're separate is up to your ISP. They've chosen to configure
> their servers so that both URLs return a 200 and appear to be sites
> that are separate (and could even be different).
>
> What they perhaps ought to do is to re-configure things so that one
> site (I'd suggest www.) sends a 301 "Moved Permanently" and redirects
> to the other.
>
> What you should do is to chill out, then fix it. I wouldn't even bother
> badgering the ISP over it (maybe a light moleing, or a brief going over
> with a couple of squirrels). You can sort this out for yourself with a
> few minutes Googlejuice, and editing yourself a .htaccess file. Then
> be grateful you're not on IIS, where only the one-and-only admin can do
> stuff like this. Isn't Apache wonderful?
In order to save you from an overdose of Googlejuice:
I did this in my .htaccess file
--------------------------------
RewriteEngine On
RewriteCond % ^odahoda\.de$
RewriteRule ^(.*)$ http://www.odahoda.de/$1 [redirect=permanent,last]
--------------------------------
If you get a '500 Internal server error' after this change, mod_rewrite is
not installed and you'll have to drink another cup of Googlejuice...
--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://www.odahoda.de/
|