WordPress Root Folder Thread
-
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”>
<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)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘WordPress Root Folder Thread’ is closed to new replies.