Viewing 2 replies - 1 through 2 (of 2 total)
  • normally that is what happens. Index.php always shows as the main page. Put whatever code you want to show on your main page in index.php

    Thread Starter drawingaway

    (@drawingaway)

    No, I mean when I go to the site it displays 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(‘./wp-blog-header.php’);

    instead of just showing the main page….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘index.php is showing on main page’ is closed to new replies.