Problem moving site with a pre-existing subdirectory install
-
Hi,
I am trying to take a site live that was developed in a subdirectory using the the info in the codex ‘Using a pre-existing subdirectroy install’. I have done this numerous times before with no difficulty. I am getting this error:Warning: require(/home/content/26/7386826/html./wordpress-2/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/content/26/7386826/html/index.php on line 17 Fatal error: require() [function.require]: Failed opening required '/home/content/26/7386826/html./wordpress-2/wp-blog-header.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/26/7386826/html/index.php on line 17
Site is located now at https://www.babiesandbelliesnantucket.com/wordpress-2. It is hosted at GoDaddy.
Here is the .htaccess code:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress-2/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress-2/index.php [L] </IfModule> # END WordPress
Here is what is on the 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( dirname( __FILE__ ) . './wordpress-2/wp-blog-header.php' );
What did I do wrong!
Thanks
Miki
- The topic ‘Problem moving site with a pre-existing subdirectory install’ is closed to new replies.