error “Giving WordPress (and blog) its Own Directory”
-
(I am: new to WP, not a nubie, not a coder, trying for excellence, settling for publishing, extremely appreciative for the help.)
I installed WP successfully with dreamhost.com “one-click” to mydomain.com and am unable to complete giving the WP application and my blog their own directories.
I followed instructions for Giving WordPress its Own Directory with “wordpress address” mydomain.com/wp and “blog address” mydomain.com/blog
I get this “warning” at the blog homepage url mydomain.com/blog:
Warning: main(./wp/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/myprivateserverinfo/mydomain.com/blog/index.php on line 17 Warning: main(./wp/wp-blog-header.php) [function.main]: failed to open stream: No such file or directory in /home/myprivateserverinfo/mydomain.com/blog/index.php on line 17 Fatal error: main() [function.require]: Failed opening required './wp/wp-blog-header.php' (include_path='.:/usr/local/lib/php') in /home/myprivateserverinfo/mydomain.com/blog/index.php on line 17
Here is my exact directory structure and index.php placement and mod:
mydomain.com
nothing installed here except the 2 directories belowmydomain.com/wp
all wp files including index.php with the line
require('./wp-blog-header.php');
mydomain.com/blog
only contains the file index.php with the line
require('./wp/wp-blog-header.php');
Help!
Hari
- The topic ‘error “Giving WordPress (and blog) its Own Directory”’ is closed to new replies.