Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a domain that looks like on the server files look like:


ok, so when you open the site, it will display index.html. my question is, how can I make it so it displays mydirectory/index.php, without affecting the scripts inside that directory (it's wordpress btw) ?

share|improve this question
also note that the script inside that directory assumes that it's installed on (not – user2589 Oct 20 '10 at 20:13

1 Answer 1

up vote 1 down vote accepted

Create a rule in your .htaccess file to handle it. This may help out

share|improve this answer
You probably should elaborate on that a bit and show an example or link to one. – John Conde Oct 20 '10 at 20:44

Your Answer


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