Run from subdirectory to root errors
-
Hi, I just tried running my site from the root (wp is installed in a subdirectory called “lake”. The site ran fine until I tried this:
+ copied index.php and .htaccess to root dir
+ edited index.php from require( dirname( __FILE__ ) . ‘./wp-blog-header.php’ ); to require( dirname( __FILE__ ) . ‘./lake/wp-blog-header.php’ );
+ changed permalinks from post name to default, then back again
+ deleted cache
This did not work, so I put everything back the way it was.
I am still getting this error:
Warning: require(/home4/rmkirby/public_html/willowlakeonline.com/lake./wp-blog-header.php): failed to open stream: No such file or directory in /home4/rmkirby/public_html/willowlakeonline.com/lake/index.php on line 17
Fatal error: require(): Failed opening required ‘/home4/rmkirby/public_html/willowlakeonline.com/lake./wp-blog-header.php’ (include_path=’.:/opt/php54/lib/php’) in /home4/rmkirby/public_html/willowlakeonline.com/lake/index.php on line 17
I’d like to get it working again from the subdirectory, so I could try changing it to the root again.
I have seen others that have had this problem here, but after trying their fixes, I am still at a loss.
Any help would be apreciated.
-Robyn
- The topic ‘Run from subdirectory to root errors’ is closed to new replies.