• 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 10 replies - 31 through 40 (of 40 total)
  • if i change to the default theme, will that mess up any customizations i’ve made to the theme i’m using now?

    No. It’ll still be there exactly as you left it.

    Thread Starter netchix007

    (@netchix007)

    ok, i switched to default. when i update my permalink structure, do i need to add /main/ before the custom structure i’m using? /%category%/%postname%/

    when i update my permalink structure, do i need to add /main/ before the custom structure i’m using? /%category%/%postname%/

    Nope. Just click save changes.

    You can try switching back to your custom theme but I think you have missing files which is causing the error.

    What’s on line 91 of your functions.php? Also, was the theme working correctly before you started moving things around?

    In the header.php of your theme… the link to CSS seems to be hardcoded because it’s not pointed at the “main” subdirectory. Change that (and anything else that’s hardcoded) to include “main” and that’ll fix the lack of CSS styling. Might even fix the error.

    Thread Starter netchix007

    (@netchix007)

    yes, the theme was working correctly before i moved stuff around. i uploaded my logo again and i don’t get that error anymore. but now my theme is all screwed up…..don’t know why.

    but now my theme is all screwed up…..don’t know why.

    See what I said above. It should be:

    <link rel=”stylesheet” href=”https://fatblastzone.com/main/wp-content/themes/feed-me-seymour/style.css” type=”text/css” media=”screen” />

    Cool. All fixed! ??

    Thread Starter netchix007

    (@netchix007)

    thank you so much for all your help…i REALLY appreciate it!!!

    You are very welcome!

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