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 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!
Deactivate all plugins. Make sure that all WordPress files were transferred successfully. Resave your permalink structure in Options > Permalinks.