WordPress in Separate directory won't load after upgrade
-
Hi Everyone,
I have exhausted all of my possibilities and searched this support forum for hours, now I feel I must ask for some help as I think I might be going slightly crazy.
I have used a method of putting WordPress into its own obscurely named directory for added security.
Now I am receiving an error which is detailed below.
The admin area works fine.
\Warning: require(/home/hdwbnb/public_html./uniquephrase/wp-blog-header.php): failed to open stream: No such file or directory in /home/hdwbnb/public_html/index.php on line 17
Warning: require(/home/hdwbnb/public_html./uniquephrase/wp-blog-header.php): failed to open stream: No such file or directory in /home/hdwbnb/public_html/index.php on line 17
Fatal error: require(): Failed opening required ‘/home/hdwbnb/public_html./uniquephrase/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/hdwbnb/public_html/index.php on line 17\
I have tried removing and renaming the file, my index.php code looks 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__ ) . ‘../uniquephrase/wp-blog-header.php’ );}
\If any one has any ideas about this I would be over the moon.
Thanks.
Fathernugen.
- The topic ‘WordPress in Separate directory won't load after upgrade’ is closed to new replies.