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

is it possible to do a rewrite rule in a htaccess that redirects from, to


share|improve this question
up vote 1 down vote accepted

I am assuming that index.php is not the DocumentRoot for and therefore you are just redirecting to the DocumentRoot. If so, use the following:

Redirect 301 /index.php
share|improve this answer
Superb, thank you very much :) – Probocop Jul 16 '10 at 0:23

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.