Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently moved my blog on to my company website and did a 301 redirect for all the content of my blog. However I want to redirect my the base url ( of my old blog to my new company blog (

Currently all the content is mapped 1 to 1 using this htaccess file.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule (.*)$1 [R=301,L]

How do I map only the root to a different place?

share|improve this question
up vote 0 down vote accepted

See mod_alias Redirect directive.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.