Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 want my site address to redirect:

  • www.example.com to www.example.com/home.php

I want to use this method to avoid it going to the index.php of that of my blog or phpb

share|improve this question
up vote 1 down vote accepted

I suspect this thread will quickly be downvoted, but .htaccess is your friend

Google will give you lots of options, but

DirectoryIndex home.php

or

Redirect 301 / http://example.com/home.php

should do it...

share|improve this answer
    
I was going to downvote you just for saying that. But this is definitely a good approach. – ionFish Aug 29 '12 at 20:26
    
"thread" added to clarify :) – Andrew Aug 29 '12 at 20:29

Your Answer

 
discard

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.