Support » Fixing WordPress » WP uses wrong index.php after upgrade

  • Hi all,

    I upgraded from 1.5 Gamma 03/02/05. I used the backup-> delete remote files-> upload new files method.

    My blog is not in the wp folder but now wp is using the index.php file in the blog folder as opposed to the index.php file in the theme folder.

    Any ideas on how I can get it looking into the theme folder for its index.php once more?

    Thanks,

    Tom

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

    (@tom_raftery)

    Ok,

    Sorted the problem.

    When I uploaded the backup wp-blog-header.php file from my backup, WordPress started looking at the correct index.php file again.

    Curious, I thought I read in the upgrade instructions that the wp-blog-header.php had to be deleted and the new version uploaded.

    The new version caused my site to look in the wrong place for the index.php file but curiously not the style.css!).

    Anyhoo, all’s well that ends well and all that – hope this helps someone else who comes across this issue.

    Tom

    Make sure you have the latest wp-blog-header.php uploaded and your root index looks like this:

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    Thread Starter tom_raftery

    (@tom_raftery)

    Nope allusion,

    it was the latest wp-blog-header.php which broke the site.

    I had to revert to my older one to get the site working.

    Index.php is in the form you posted.

    Thanks,

    Tom

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP uses wrong index.php after upgrade’ is closed to new replies.