• I recently moved my wordpress to a new host and I get the following error on the home page:

    Not Found
        Sorry, but you are looking for something that isn't here.

    The corresponding code (in themes/../index.php) is:

    <?php if (have_posts()) : while(have_posts()) : the_post(); ?>
        	...
    
        <?php endwhile; else: ?>
          <h2 class="center">Not Found</h2>
          <p class="center">Sorry, but you are looking for something that isn't here.</p>
          <?php include (TEMPLATEPATH . "/searchform.php"); ?>
        <?php endif; ?>

    I don’t understand why it doesn’t find any posts to show?

    I’d really appreciate any help. Many thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter 3zzy

    (@3zzy)

    I’ve never been lucky to receive any help on the ‘official’ wordpress forum :S

    well…first off, when you reply to your own post…you no longer show up here
    http://wordpress.org/support/view/no-replies
    so you are much less likely to get any help

    Next up, I assume that isn’t your entire index.php? (as there is no code there to display any content)

    Thread Starter 3zzy

    (@3zzy)

    I didn’t know, well its the same anyway.

    Yes, its just a portion from index.php, should I paste it full?

    it’s probably not necessary,….I just wanted to make sure. As long as your loop is intact, etc. (to be sure, have ya tried switching to the default theme?)

    So, your site previously worked, you went to a new host, and now it doesn’t…..but you didn’t make any changes or anything correct?

    did ya mess with the permalinks at all? Did you reuse the .htaccess file from your old host? or let wordpress generate a new one?

    I’ll be honest…the permalink / page not found stuff isn’t my strength…. just an area I’d investigate first

    If none of that works, post your url for someone to take a look

    Thread Starter 3zzy

    (@3zzy)

    Yes, tried the default theme.
    Yes, using the same files/db without change (except URL ofcourse)
    Yes, updated the permalink via admin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No posts show on Homepage’ is closed to new replies.