Alternative to using index.php (4 posts)

  1. colin@waltoncreative.com
    Posted 1 year ago #

    I want to run a client's website with a "coming soon" on the home page. I have created this file and called it index.html

    I then installed WordPress, but whatever I do it always defaults to index.html

    I have tried http://pinewoodelectricalcontrols.co.uk/index.php but the page is always redirected back to http://pinewoodelectricalcontrols.co.uk (/index.html)

    Is there anything in the settings I can do to force the server to prefer index.html BUT to honour http://pinewoodelectricalcontrols.co.uk/index.php ?

    I have tried changing the settings > general but however I set the home page and site urls they don't fix the problem.

    I have read in previous posts that the best way to do this is to install WordPress into its own folder, but I don't want to have to change all the links when the site goes live to take out /WordPress/

    Is the problem with the server always going to HTML regardless?

  2. bemdesign
    Posted 1 year ago #

    That's a setting defined by the server (i.e. what the root document is - right now its configured to be index.html and this is will always be what comes up first because the server says so!).

    What you may want to do is remove the index.html and use a "Coming Soon" plugin for WordPress to create the "static" page you need while working on the site - http://wordpress.org/plugins/search.php?q=coming+soon and pick one.

  3. colin@waltoncreative.com
    Posted 1 year ago #

    Oh yes good idea! thanks.

  4. colin@waltoncreative.com
    Posted 1 year ago #

    But how do I work on the website in the background? while the maintenance page is displaying?

    Is there no way this can be done? Or do I have to "preview" each page to see the effect?

Topic Closed

This topic has been closed to new replies.

About this Topic