[web-team] [volunteers] www.svlug.org versus svlug.org
Rick Moen
rick at linuxmafia.com
Tue Oct 14 16:22:06 PDT 2008
Quoting Don Marti (dmarti at zgp.org):
> I'm getting a few extra lines at the top of that
> page...
Cut-and-paste error, sorry. Fixed.
(Apparently, there's some shell magic that creates default headers and
footers for new files with filename extension .html . I was in a
tearing hurry this morning, and didn't properly lose that stuff.)
>
> You might want to stick a...
> <META NAME="ROBOTS" CONTENT="NOINDEX">
>
> on that page, too, just to make sure to chase web
> crawlers away.
Done!
> Alternatively, you could deal with a
> bunch of alternative names for a web server something
> like this:
>
> <VirtualHost svlug.org>
> ServerName svlug.org
> ServerAlias svlug.com
> ServerAlias www.svlug.com
> ServerAlias svlug.net
> ServerAlias www.svlug.net
> RewriteRule ^(.*)$ http://www.svlug.org$1 [R=301,L]
> </VirtualHost>
>
> RewriteRule defaults to temporary (302) redirects,
> which are not search engine friendly.
Will consider that more-systematic approach when I have time. Thanks.
More information about the web-team
mailing list