HELP!!TRIED TO MOVE FILES NOW SITE IS DOWN
-
I tried to move my wordpress files to a new directory according to this post i found on your site:
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory
my index.php file was in my wp-admin folder, so i moved it to my website root, per instructions. when i got to the line that says change require(‘./wp-blog-header.php’); in the index.php file to include the new directory name i ran into a problem. my index file doesn’t reference this header. if i leave the file as-is and try to go back to the admin panel, i get an error: Fatal error: require_once() [function.require]:
Warning: require_once(ABSPATHadmin.php) [function.require-once]: failed to open stream: No such file or directory in /home/hnalette/public_html/index.php on line 10
Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATHadmin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/hnalette/public_html/index.php on line 10
line 10 of my index file has: require_once(ABSPATH . ‘admin.php’);
if i change this to include the new directory — /main/admin.php, i still get the same error. if i move everything back to the root of my site, the site still won’t work because i changed the wordpress url in the admin settings. i’m stuck.
- The topic ‘HELP!!TRIED TO MOVE FILES NOW SITE IS DOWN’ is closed to new replies.