Support » Fixing WordPress » Index.php code is showing in the Home Page

  • Resolved Ronald Abainza

    (@rhonald)


    Its showing like this

    <?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’ );

    when you access the site as well as the dashboard

Viewing 1 replies (of 1 total)
  • This is a hosting problem. It means PHP isn’t running or loading. So contact your hosting about this.

Viewing 1 replies (of 1 total)
  • The topic ‘Index.php code is showing in the Home Page’ is closed to new replies.