Support » Installing WordPress » WordPress not working on root index.php

  • Resolved tysont09


    I am not for sure if this is the correct place to put this, but I need some help! I have wordpress set up in a sub-directory; however, I am trying to get it to show up on my main page. It works if I type in, but it will not work when I go to

    I get the following message:
    Warning: Cannot modify header information – headers already sent by (output started at /home/kimlocke/public_html/index.php:1) in /home/kimlocke/public_html/wp/wp-includes/pluggable.php on line 868

    I followed the directions that are on WordPress about giving it it’s own directory, but I do not have a .htaccess file, so this is what I put in the root index.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 */

    Hopefully someone can help me!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress not working on root index.php’ is closed to new replies.