• I am developing a website with wordpress, the client has a linux server. for the time bieng, till the website is all done, he wants s html construction page to be seen. and I want wordpress to work at the back side. I uploaded a index.html page to the server, and installed wordpress. But, wordpress pages,posts all are not visible, they show the default index.html page. I tried changing the wordpress index.php name but, its not solved. Please help me tell me how to run these two simultaneously and smoothly. once the website is done, it will be live. PLZZZ Help me out… The server provider said its not possilble in linux.. is it???

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator cubecolour

    (@numeeja)

    what is the site url?

    have you installed WordPress directly into the root public_html (or equivalent) directory or into a folder?

    What do you mean when you say you changed the index.php name? If you changed the filename change it back to index.php; index.html would normally take precedence over index.php and changing it will break WordPress.

    Thread Starter dikshaV26

    (@dikshav26)

    http://www.rajshri.org
    installed wordpress directly to public_html.
    well i have canged the index.php back to its original name.

    Moderator cubecolour

    (@numeeja)

    It looks like your holding page is called index.php & trying to access index.html results in a 404 no found error.

    Did you replace WordPress’s index.php with your custom one?

    The content of the index.php in WordPress should look like:

    <?php
    /**
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     *
     * @package WordPress
     */
    
    /**
     * Tells WordPress to load the WordPress theme and output it.
     *
     * @var bool
     */
    define('WP_USE_THEMES', true);
    
    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');

    Do you have that file?

    Or you could use one of the “Coming Soon” plugins, such as this one:

    http://wordpress.org/plugins/ultimate-coming-soon-page/

    Thread Starter dikshaV26

    (@dikshav26)

    @cubecolour- yes I have the same file… yhere is no problem with wordpress file… I have uploaded a index.html page n that page is visible when we enter the site url… The problem is… even if I want to see wordpress pages… its shows me the same html page not any of the wordpress pages…

    Thanks@ 2ninerniner2- I tried some pluggins n have come to a solution. But I wanted to that there may be other measures for it… n y is theproblem arising???

    Moderator cubecolour

    (@numeeja)

    I cannot access an index.html at http://rajshri.org/index.html however http://rajshri.org/index.php returns your holding page. This is not how I would expect the setup you have described to behave. Can you try to get a better answer from your hosting company about why they say this is not possible. I have use an index.html alongside an index.php many times when setting up a new site without problems. Perhaps they know of a specific restriction they put in place. I do not believe it is a linux restriction.

    It is particularly strange that the index.html cannot be accessed via its own filename.

    Thread Starter dikshaV26

    (@dikshav26)

    Thanks for the reply. They said-“its a dedicated srever and access the main root, not any other page.” I dont know what does that mean…!!

    Could please tell me the steps you followed to run these pages. I’ll try them

    Moderator cubecolour

    (@numeeja)

    I must admit I have no idea what has gone wrong here and I am somewhat surprised that your hosting company who have full access to the server, so well placed to check it out are not helping you. I am not sure what their response is specifically referring to.

    All i did to check it was to type in the address bar of my browser:

    http://rajshri.org/index.html
    &
    http://rajshri.org/index.php

    I would expect the .html URL to return your holding page and the .php address to return the WordPress site.

    Also I can see the WordPress readme.html at http://rajshri.org/readme.html

    At what point did the site break?

    Was WordPress installed & working until you created the new index.html file?

    What happens if you remove the index.html you added?

    What happens if you download and unzip the WordPress 3.5.1 files from https://wordpress.org/download/ & upload just the index.php from that package?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Under constuction page with running main website in a Linux Server’ is closed to new replies.