• esasse

    (@esasse)


    I just upgraded my WP from 1.2 to 1.5 and now when I try to open my site using only the domain (www.ericksasse.com.br) I got a page not found error. But if I type https://www.ericksasse.com.br/index.php it opens, but if I click in a post title I got another page not found error.

    What’s is wrong? I followed all the instructions to upgrade.

Viewing 15 replies - 1 through 15 (of 27 total)
  • Joshua Sigar

    (@alphaoide)

    If you haven’t done it, run wp-admin/upgrade.php.
    If you have permalink set up, try to unset it and delete .htaccess.

    Thread Starter esasse

    (@esasse)

    I did run upgrade.php.
    I don’t have permalink set up.
    I don’t have .htaccess. My site is hosted in Windows and IIS.

    Kafkaesqui

    (@kafkaesqui)

    Same issue here:

    https://www.ads-software.com/support/topic.php?id=23962

    Not sure of a resolution as yet.

    Thread Starter esasse

    (@esasse)

    I hope someone finds a solution quickly, I don’t want to downgrade to 1.2.

    Joshua Sigar

    (@alphaoide)

    Let’s do this.
    Create a subdirectory of any name
    Create an index.php and put some random stuff
    Go to that subdirectory with your browser
    Is index.php loaded automatically?

    Thread Starter esasse

    (@esasse)

    Yes, it is.
    Just like it was in WP 1.2.

    Kafkaesqui

    (@kafkaesqui)

    Actually, going to https://www.ericksasse.com.br/ duplicates what you’re asking for alphaoide.

    This may sound a little strange esasse, but could you grab the index.php file sitting in your root directory, and place <html> </html> tags around the entire content of it. Just a hunch…

    Thread Starter esasse

    (@esasse)

    Take a look! Now I got a different error, but the site is partially loaded. https://www.ericksasse.com.br

    Joshua Sigar

    (@alphaoide)

    Backup/rename the current index.php in root
    Put custom index.php in root
    Is the custom index.php loaded automatically?

    Thread Starter esasse

    (@esasse)

    If I type https://www.ericksasse.com.br/index.php the posts are shown.

    Thread Starter esasse

    (@esasse)

    Now my index.php is like this:

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

    Nick Momrik

    (@mtdewvirus)

    esasse,
    For some reason, most of the links on your site are missing the index.php in them. The category links have them though. When you upgraded, did you delete all of the files on your site and upload all of the new ones?

    Thread Starter esasse

    (@esasse)

    I moved all my old files to another dir. It is enough, isn’t it?

    Kafkaesqui

    (@kafkaesqui)

    Hmm.

    I’m trying to duplicate this from my IIS machine, but can only do so under a very specific circumstance (meaning not in WordPress, I don’t see the problem from the root of the site as you do, and have no issue with query-strings not run off index.php).

    A couple more things to try:

    1. Run wp-admin/upgrade.php again. There’s an issue (a thread for which I presently can’t locate) related to a missing setting (html_type) this helps solve. Perhaps there’s a relationship here.

    2. Instead of placing the <html> tags in the index.php of your root, you could try removing them from header.php and footer.php of your theme, and adding them to the theme’s index.php.

    Again, just going on hunches.

    Kafkaesqui

    (@kafkaesqui)

    MtDewVirus: See this for more on the index.php issue:

    https://www.ads-software.com/support/topic.php?id=23962

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Can’t load index.php from site root after upgrade’ is closed to new replies.