• Index PHP: Invalid

    Uncorrected…

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

    Corrected… (correction provided by HTML Tidy, not guaranteed)

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./wp-blog-header.php’);
    ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 3.2//EN”>
    <html>
    <head>
    <meta name=”generator” content=”HTML Tidy for Linux (vers 1 September 2005), see http://www.w3.org”&gt;
    <title></title>
    </head>
    <body>
    </body>
    </html>

    (That’s right, in order to be validated the file must have a doc declaration.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • That file is NOT really displayed ever because the theme’s index is your “display” page. So, what is this all fuss about?

    My index page looks the same way. May I ask what the extra code means and if you understand the code above the “doc” declaration?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WordPress Root Folder Thread’ is closed to new replies.