WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Moving Content to Sub-Directory Breaks Site (9 posts)

  1. conurbble
    Member
    Posted 1 year ago #

    Hey there,

    I'm trying to get my wp site up and running but after moving it to a sub-directory I'm having a hard time getting it to work. I've finally been able to get the page to load at the URL I want (http://www.konradjazz.com), but as you'll see I'm getting all sorts of strange errors on the site wherever I'm trying to access wp content, such as this:

    Warning: include(wp-load.php) [function.include]: failed to open stream: No such file or directory in /home/content/39/10994239/html/kj-wp/wp-content/themes/konradjazz/index.php on line 39

    I'm guessing it may be a scope issue, but I'm not sure how to fix it. Has anyone seen this error before? I'm completely stuck, so any help you can give me will be a huge help. Thank you!

  2. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    What is on konradjazz/index.php on line 39?

  3. Karine
    Member
    Posted 1 year ago #

    Did you move your WordPress installation in a subdirectory?

    The error message is telling you that it can't find the file "wp-load.php".

    Directions to move WP in a directory: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

  4. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Oh, and your links found at a scan look, well, unusual:

    http://sitecheck.sucuri.net/results/www.konradjazz.com/

  5. ClaytonJames
    Member
    Posted 1 year ago #

    There's nothing unusual about the links. WordPress has simply been moved to a sub-directory name /kj-wp, in an attempt at serving from root.

    @conurbble

    Have a peek at the instructions referred to in the information that Karine posted for you, specifically "Moving a Root install to its own directory" and see if you may have missed or misinterpreted a step somwhere. Sometimes step number 7 can be a stumbling block.

  6. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    So 'function.include' is a normal link we find when scanning?

  7. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Let me please answer my own question> NO, no it is not.

  8. conurbble
    Member
    Posted 1 year ago #

    Hey everyone, thanks for the input. I decided to just try and start from scratch and now I have the site working w/o a root folder. I think I'll try the conversion again in a little bit, but for now I'm just relieved to have it operational. Thanks for the help!

  9. ClaytonJames
    Member
    Posted 1 year ago #

    @Seacoast Web Design

    I think you're probably just viewing an error message, there.

    The scanner probably can't continue because it isn't able to scan past the error, so it pretty much reports what you would encounter in your browser when hitting a full stop due to the same error.

    So, yeah... I don't think you're really looking at links, as much as probably looking at an error message. And the sky isn't falling.

    Seeing "function.include" in an error message really isn't that unusual.

    site:wordpress.org "Warning: include() [function.include]: Failed opening"

Topic Closed

This topic has been closed to new replies.

About this Topic