• For a while now I’ve had WP set to use a different page for ‘home’ and my blog on another page called ‘blog’.

    Today I decided to go back to having my blog as the homepage, and so changed the appropriate options.

    Now all I get on the homepage is ‘Not Found, Sorry, but you are looking for something that isn’t here.’

    Any ideas?

    https://robpannell.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • – take the index.php file that’s in the folder where you installed WordPress and save it to your desktop.
    – Open the file with notepad and change the following:

    From this:

    require(‘./wp-blog-header.php’);

    To this:

    require(‘./site/wp-blog-header.php’);

    ‘site’ will be the name of the folder that you installed WordPress in.

    – Upload that file (after you saved it) to the root directory of your site, in this case it’s ‘robpannell.com’

    Voila! The php file will pull the site from the installation folder.

    Thread Starter robpannell

    (@robpannell)

    Thanks, but it’s not the location of the WP site.
    WP is loading correctly, it’s just that it won’t draw the blog from the database unless it’s been told to do it onto a page that isn’t the landing page.

    Thread Starter robpannell

    (@robpannell)

    I’ve ended up by creating a new installation of WP, creating a new SQL database and then importing all the posts etc in from the old one, then removing the old one.

    I was hoping for an actual solution rather than a work around, but never mind. I’ll leave this topic as not resolved in case anyone can post an actual answer. Hope it can help someone else out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘blog on first page’ is closed to new replies.