Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.