WordPress Development Stack Exchange is a question and answer site for WordPress developers and 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

I am trying to work on a new Wordpress-site on the web. I am 'hiding' the site by putting up index.htm in the home-directory so that visiters see this html with some text about 'maintenance' and not the Wordpress-site.

But now if I go to www.example.com/index.php it redirects to www.example.com/ and shows the index.htm. I can't preview what I am doing in the admin.

Is there anyway I can change Wordpress-settings so it won't redirect /index.php to /?

Thanks in advance.

share|improve this question
Use FileZilla to rename index.htm to something else and then visit. There is no setting in WP to handle this. – Rutwick Gangurde Oct 11 '11 at 9:45
Ok, thanks for the answer. I know now I don't need to look into Wordpress-settings. – Jelle Oct 11 '11 at 10:15

A good solution to your problem would be to use a maintenance mode plugin. These plugins will show a splash page to your visitors, but allow administrators full access to the site.

You can find these plugins in the Plugin Repository, for example: http://wordpress.org/extend/plugins/maintenance-mode/

share|improve this answer
Thanks, I will look into it. – Jelle Oct 11 '11 at 10:13
Also Coming soon and Password Protect have worked well for me. – Drai Nov 16 '11 at 18:50

Under settings in WordPress you can decide where you want your WordPress site displayed.

Under Settings->Site address (URL), for example if you decide to display your site in a subfolder like this http://example.com/temp/

You just gotta create a folder called "temp" place your index.php file in there and edit it.

Change this line:




share|improve this answer

Change site URL because wordpress redirects to it automatically we can't do it normally use default but it happens in this type of conditions.

share|improve this answer

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.