Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Index/ Showing for My Blog! WordPress

  • SOLVED

During an FTP transfer, I accidently uploaded the index.php file from within the local theme folder to the remote root Wordpress folder, and that's when everything went crazy.

You can check it out at http://lifebridgecypress.org. I deleted the index.php from the root WP install folder, but still nothing. I uploaded a new .htaccess file to the root folder, after seeing somewhere online that that would do the trick, but still nothing.

Has anyone had experience with this, and know of a solution?

Answers (2)

2010-12-03

Andrzej answers:

Upload an index.php file to root of your WP install (create new empty file just with this name).

Put these stuff into this index.php:

<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>


Andrzej comments:

Basically, in the root of WP install there's also an index.php and copying the theme's one there you have overwritten the default one. The code I posted above is the default root WP index.php file.

2010-12-03

Pippin Williamson answers:

Go download a new copy of Wordpress from WordPress.org, extract it, and upload the index.php in there to your server's root.