Forums

[resolved] "home" page doesn't display (6 posts)

  1. barbturner
    Member
    Posted 4 months ago #

    hi. new to this. and not a code poet.
    everything is going fine, except the page i made for "home" in wp, with the web address
    dreamtherapyseattle.com wont overwrite the old landing page that i had up before finding wp.
    my other pages, like the "about" page and the blog page display fine, but if you click on home from one of those two pages, you get the old page, and not the "home" page i've created in wp.

    "home" page in my wp editor has the permalink listed as http://www.dreamtherapyseattle.com which should be correct, but wp does not display, does not overwrite the preexisting material there.

    here's a link to get to the wp functioning part of my site, incase it helps. http://www.dreamtherapyseattle.com/a-to-z.

    i want to overwrite my old landing page with a new wp page.
    what do i do to fix it? thanks! barb.

  2. richarduk
    Member
    Posted 4 months ago #

    Your website under your domain name usually has an index page, perhaps index.php

    This would normally display your front page when someone types in your domain name.

    Wordpress however has the following index.php code, which calls wp-blog-header.php which in turn loads up your theme.

    Your theme is buried away in the bowels of wordpress :-)

    It sounds as if the index.php mentioned above hasn't actually been overwritten. The code should look like 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');
    ?>
  3. barbturner
    Member
    Posted 4 months ago #

    ok. so im apparently more illiterate than i thought.

    can i just copy and past all, or which part, of what you offer here someplace? and if so, where? in the code of the "home" page?

    sorry for my ignorance! and thank you for the help!

    or maybe i should just pay someone to help me get it up and running properly?

  4. richarduk
    Member
    Posted 4 months ago #

    If you've got FTP access (i.e. you can upload files) then go to index.php in your root (NOT in your theme) and view it.

    That means you'll have a folder called something like public_html, and in that folder will be wp-config.php, wp-feed.php, wp-load.php and a bunch of other files including index.php

    It's this index.php that you want to look at. It should contain code identical to the code I pasted above, so yes, paste it all in (having saved what was originally there in case it doesn't work and you need to go back to how you were).

  5. barbturner
    Member
    Posted 4 months ago #

    ok! that i can do. thanks richard!

  6. barbturner
    Member
    Posted 4 months ago #

    ok! learning curve!
    code was perfect, same as what you provided, so i deleted old landing page off server, (perhaps i should have done that first?) and now its loading! fab!
    thanks for your help!

Reply

You must log in to post.

About this Topic

Tags