Corrupted index.php how to fix?
-
Hi,
I just changed my User database password under cpanel>MySQL menu. The site began giving “Error establishing a database connection”. Then I manually changed DB user password stored in wp-config.php file . The site now gives 500 error (says the page can’t currently handle the request). GoDaddy tech support told me my index.php is corrupted (He put his own index file “hello world” after which the error is gone)
I tried to FTP index.php from my local backup, but it did not help (that backup was doe before I updated WP to latest). Here is what my old index.php reads. What can be wrong?<?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( dirname( __FILE__ ) . '/wp-blog-header.php' );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Corrupted index.php how to fix?’ is closed to new replies.