Title: index.php problem
Last modified: August 31, 2016

---

# index.php problem

 *  Resolved [jfblanc](https://wordpress.org/support/users/jfblanc/)
 * (@jfblanc)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/)
 * Hello!
    I’m having a very weird case, I transferred my WordPress site from one
   hosting to another. Apparently, everything works perfectly fine, the website 
   is fully uploaded and running ok. The problem is that when I enter the main URL
   it won’t show the homepage, you can check here: [http://www.westroot.com](http://www.westroot.com)
   Versus if you enter through any other page, you can see the full website e.g.
   [http://www.westroot.com/about](http://www.westroot.com/about)
 * I contacted the hosting company (Godaddy) to check if there were any compatibility
   issues but it looks that there are any, the only solutions they gave were to 
   delete the .htaccess file or rename it, but this didn’t work. They said there
   is a problem with the index.php file so it won’t load the homepage.
 * This is the content of my index.php file:
    <?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](https://wordpress.org/support/users/package/)
   WordPress */
 * /**
    * Tells WordPress to load the WordPress theme and output it. * * [@var](https://wordpress.org/support/users/var/)
   bool */ define(‘WP_USE_THEMES’, true);
 * /** Loads the WordPress Environment and Template */
    require( dirname( __FILE__).‘/
   wp-blog-header.php’ );
 * Any help? 🙁 I’m very desperate….
    Thank you!!

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-7420787)
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Twenty Sixteen theme
   to rule-out a theme-specific issue (theme functions can interfere like plugins).
 *  [Nebu John Thaliyath](https://wordpress.org/support/users/nejwrks/)
 * (@nejwrks)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-7420788)
 * Make sure siteurl and home in your options table are same.
 *  Thread Starter [jfblanc](https://wordpress.org/support/users/jfblanc/)
 * (@jfblanc)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-7420794)
 * Thank you so much for your help!
    I tried deactivating the plugins and changing
   the theme and that didn’t work… I also checked and siteurl/home are both [http://westroot.com](http://westroot.com)
   🙁
 * Any other ideas I should try?
    Thank you so much!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-7420796)
 * Try [downloading WordPress](https://wordpress.org/download/) again, access your
   server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients), or a file 
   manager in your hosting account’s control panel, and delete then replace your
   copies of everything on the server **except** the `wp-config.php` file and the`/
   wp-content/` directory with fresh copies from the download. This will effectively
   replace all of your core files without damaging your content and settings.
 * Some uploaders tend to be unreliable when overwriting files, so don’t forget 
   to delete the original files before replacing them.
 * If that makes no difference, we may be able to help, but we’ll need a detailed
   error message. Despite the appearance, a blank page typically means that PHP 
   is crashing, and a more detailed error is usually recorded in the server error
   log. If you have access to your server error log, visit/load the blank page again,
   note the date and time of this visit, then immediately check your server error
   log for any errors that occurred during that time period. If you don’t have access
   to your server error log, ask your hosting provider to look for you.
 *  Thread Starter [jfblanc](https://wordpress.org/support/users/jfblanc/)
 * (@jfblanc)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-7420807)
 * Thank you for your help! I just found out that my domain was being redirected
   to an empty default page.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-7420815)
 * You’re welcome!
 *  [MasterWordPressPL](https://wordpress.org/support/users/masterwordpress/)
 * (@masterwordpress)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-8983454)
 * I had the same problem, but the **solution** for me was an unnecessary line in.
   htaccess with the PHP version

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

The topic ‘index.php problem’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [solution](https://wordpress.org/support/topic-tag/solution/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [MasterWordPressPL](https://wordpress.org/support/users/masterwordpress/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/indexphp-problem-4/#post-8983454)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
