|
Posted by Paul Furman on 07/28/07 01:45
dorayme wrote:
> Toby A Inkster wrote:
>>Neredbojias wrote:
>>
>>>It stands for "Wicked Witch of the West"...
>>
>>ROFL. Well, not R, but OFL anyway.
>>
>>For other reasons: http://no-www.org
>
> In that, it it suggested to put in some text in a .htaccess to
> make it happen without www. Presumably where it does happen
> naturally, there is a server configuration inaccessible to users.
> For example, quite a few websites that I have access to the
> server files (up to a point) do not need www but there is nothing
> to suggest anything about it in the .htaccess that is accessible
> to me (if indeed, there is even such a file).
All kinds of weird solutions for this.
Here's what I ended up with:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.edgehill\.net$ [NC]
RewriteRule ^(.*)$ http://edgehill.net/$1 [NC,R=301,L]
--
Paul Furman Photography
http://edgehill.net
Bay Natives Nursery
http://www.baynatives.com
[Back to original message]
|