.htaccess -> redirect all traffic?

.htaccess -> redirect all traffic?

am 10.11.2007 00:09:16 von unknown

Post removed (X-No-Archive: yes)

Re: .htaccess -> redirect all traffic?

am 10.11.2007 03:24:24 von kimandre

still me wrote:

> Will this instruction redirect all traffic (any page requested) from
> the requested domain to the new domain?
>
> Redirect 301 / http://www.example.com/

Short answer: Yes.

And by using 301 ("permanent"), you're also indicating to search
engines and other spiders that http://www.example.com/ will be the
permanent replacement for your site.

See also the Apache manual:
http://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirect

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)