.htaccess -> redirect all traffic?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Will this instruction redirect *all* traffic (any page requested) from
the requested domain to the new domain?

Redirect 301 / http://www.example.com /


Re: .htaccess -> redirect all traffic?

still me wrote:

Quoted text here. Click to load it

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:

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

Site Timeline