• 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.

Viewing 15 replies - 1 through 15 (of 40 total)
  • my index.php file was in my wp-admin folder, so i moved it to my website root, per instructions

    Uh… #1. you don’t MOVE the index you copy it and upload it to the root. #2. you don’t copy the index.php in the admin folder, you copy the index in the main WP folder.

    my index.php file was in my wp-admin folder, so i moved it to my website root, per instructions.

    Whoops! Wrong index.php. Move that one back. You want to move the one in the root of your WordPress installation!

    Thread Starter netchix007

    (@netchix007)

    okay, when i moved the index.php file, it was one of 3 – wp-admin had one, wp-content had one, and wp-content/themes had one. the one on the root of wp-content had nothing in it. i did a search through all of my files and these were the only index files that came up. there wasn’t one already on my root.

    Thread Starter netchix007

    (@netchix007)

    when i initially did the install, it was installed on my root. i had the wp-files and folders directly on my root. i add a subdirectory to my root called main and moved everything in there. the .htaccess file was already on my root and the index files were in those other folders.

    Thread Starter netchix007

    (@netchix007)

    please help!

    There IS a main index.php for WP. It’s not in a folder. It’s in the same area that contains the wp-config file. It IS there or your site would have never worked. You just NOW moved everything into a subdirectory called main? What’s the URL to your site?

    Thread Starter netchix007

    (@netchix007)

    fatblastzone.com

    For starters you haven’t moved all the WP files to their new location >> xmlrpc.php. And you say you moved them to a folder called “main”? https://fatblastzone.com/main gives an internal server error.

    Thread Starter netchix007

    (@netchix007)

    i moved the ones starting with wp-…
    i just moved the xml one.

    Again….. where did you move them to?

    Thread Starter netchix007

    (@netchix007)

    i moved them to fatblastzone.com/main…please try again.

    Ok… so it is “main”. Obviously the index.php you uploaded to that directory has been modified which is causing the error. Start by uploading a fresh copy of the index.php — the MAIN index.php.

    Ok excellent. At least we’re seeing the list of files. The REASON we’re just seeing a list of files is because there’s no index.php As I said above… upload the main index.php to the “main” directory.

    Thread Starter netchix007

    (@netchix007)

    where can i get a fresh copy?

    Thread Starter netchix007

    (@netchix007)

    i only have the other two – one in themes and one with nothing in it.

Viewing 15 replies - 1 through 15 (of 40 total)
  • The topic ‘HELP!!TRIED TO MOVE FILES NOW SITE IS DOWN’ is closed to new replies.