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

| improve this question | | | | |

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

Google will give you lots of options, but

DirectoryIndex home.php


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

should do it...

| 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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