WordPress not working on index.php
-
Hi.
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 http://kimberleylocke.org, but it will not work when I go to http://www.kimberleylocke.orgI 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 868I 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:
<?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/wp-blog-header.php’);
?>Hopefully someone can help me!
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
-
- The topic ‘WordPress not working on index.php’ is closed to new replies.