• My WordPress control panel is operating without any problem… however I’m having problems getting the public side viewable.

    Here is what happens with different scenarios:

    with index.php selected as the “default document” ( Windows hosting ) all of the public pages (i.e. https://www.marinainnwa.com/?page_id=25 ) show up as blank with no content in the source code.

    With index.html selected as the default document the home page opens to my old static homepage ( index .html ) and when I try to view a public page such as https://www.marinainnwa.com/?page_id=25 it will also open up my homepage.

    Windows hosting
    version 2.9.1
    WordPress URL and blog URL bolts set to https://www.marinainnwa.com

    Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • You apparently installed WP in the root of the server.
    Check the index.php in the root. It should contain this:

    <?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');
    ?>

    Next, rename your index.html (from your old site) to indexold.html and try https://www.marinainnwa.com

    Skip that because this one works:
    https://www.marinainnwa.com/index.php

    so just do the renaming of the index.html and you should be good.

    Thread Starter Hotcoffee

    (@hotcoffee)

    The index.php file already had the code you mentioned…. when I rename or delete the old index.html file I get a blank page with no HTML for the home page and any other WordPress post or page.

    I restored the index.html file because the website is still live and don’t want to disrupt their service.

    Thanks again for your help… any other ideas?

    Where is WP installed? Both this– https://www.marinainnwa.com/license.txt — and this– https://www.marinainnwa.com/blog/license.txt — return a file. Like wise with– https://www.marinainnwa.com/readme.html — and– https://www.marinainnwa.com/blog/readme.html — but if you notice the readme’s are for two different versions of WP. What’s going on with your set-up?

    Thread Starter Hotcoffee

    (@hotcoffee)

    The problem is our hosting ( verio iis ) … we don’t have enough resources. He fixed it temporarily by “Recycling virtual resource units”

    In Resource dashboard under configure VRU.

    I’m wondering if wp cache will help. Will report back.

    OK. But why do you appear to have two installations of WP?

    Thread Starter Hotcoffee

    (@hotcoffee)

    I originally had it installed in a subfolder while I was developing the website.

    So… you originally had WP in ‘/blog’ for development purposes but you’ve now moved it to ‘/’, yes?

    But ‘/’ isn’t WP as near as I can tell. It seems to be all html and nothing in there really identifies it as a WP generated page. You don’t get WP until you go to ‘/blog’, which is perfectly fine, but links inside ‘/blog’ direct back to ‘/’, which isn’t WP even though the link URLs look like WP URLs. For example, in https://www.marinainnwa.com/blog/ the ‘Hotel Facts’ link looks like this: https://www.marinainnwa.com/?page_id=6, which indicates that WP is in root but ‘/’ isn’t showing any indication of being WP. That link should look like this– https://www.marinainnwa.com/blog/?page_id=6 if WP is in ‘/blog’. But, of course, you said you had WP in a subfolder for development purposes which indicates that it isn’t in a subfolder anymore. Plus, you’ve still got two instances of WP floating around one of which is being directed to but doesn’t work (in ‘/’) and another which does work but isn’t be directed to (in ‘/blog’) and which shouldn’t be there at all or so it sounds like based upon your explanation for the two WP instances.

    So which is the real WP instance and how is your site supposed to work?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blank homepage, pages forwarding to old static homepage’ is closed to new replies.