Support » Installing WordPress » Recurring Problem with 3.6, core files in subfolder, site url at root

  • I just installed my first instance of 3.6. This is the third install in the same linux hosting account on a godaddy server.

    I installed to the root, then followed the standard procedures ( to move the core files to a subdir.

    Once that process was complete, I attempted to login. I got a series of errors, where the files were not found because they were looking at the root directory instead of the subdirectory. I walked through the process of opening and saving (with no edits) several files scattered around the installation. Once I opened and saved a file, the error would move on to the next file.

    Hoping this is a matter of caching and will resolve itself once I clear my browser cache. But wondering if anyone else has seen this? I have done this with many sites (pre-3.6), and this is a first for me.


Viewing 7 replies - 1 through 7 (of 7 total)
  • Clarification: this is the third instance of WordPress, but the only one that is 3.6 – the other sites are scheduled to be updated.

    FYI, just cleared cache, still having the problem. Went straight to the site domain, as if to view the homepage, and got an error. Had to open and save the file in question (no edits), then it went through.

    The files that pop up in the error are varied and in different folders. I can’t find a real rhyme or reason to it.

    Have you read through this: ?

    You may also need to put in global directives in your wp-config.php to help WordPress locate where the files actually reside physically on the server.

    I did read that – I’ve done the process several times and I read the procedure guidelines every time to be sure I don’t forget anything.

    I’m unfamiliar with putting in global directives in wp-config.php … can you give me an example? can help you generate this but basically:

    /* Custom WordPress URL. */
    define( ‘WP_SITEURL’, ‘’ );
    /*your site URL*/
    define( ‘WP_HOME’, ‘’ );
    /*where your WordPress files are*/
    define( ‘WP_CONTENT_URL’, ‘’ );
    /*where your wp-content directory resides*/
    define( ‘UPLOADS’, ‘’ );
    /*where you want uploads to be placed*/
    define( ‘WP_PLUGIN_URL’, ‘’ );
    /*where the plugins folder resides*/

    So you can have your site URL actually different then where the actual WordPress site folder sits on the server and, in fact, with these global directives, you can have your wp-content folder placed completely outside of your normal WordPress install.


    This looks wonderful, but how will this affect a sub-directory multi-site setup? My story: I have a static html site on the root of my host ( which when typed calls index.htm and loads.

    I recently wanted to try out WP and setup a blog in a sub-directory ( and all is well. I fell in love with WP so much, I decided to setup multi-site and re-create my original static page into WordPress format. (ugh…. what a learning exp but I got it!) The “new” (main) re-creation site is @ and everything works so far!

    Now, I want to DEL the old html site and have load the WP site located @ I think this would be easier if I didn’t have multisite and quite frankly, I’m scared! I put in umpteen hours building my WP static site from scratch! LOL

    Thanks in advance….
    PS: My multisite wp-config.php entry

    /* Multisite */
    define( ‘WP_ALLOW_MULTISITE’, true );
    define(‘MULTISITE’, true);
    define(‘SUBDOMAIN_INSTALL’, false);
    define(‘DOMAIN_CURRENT_SITE’, ‘’);
    define(‘PATH_CURRENT_SITE’, ‘/blog/’);
    define(‘SITE_ID_CURRENT_SITE’, 1);
    define(‘BLOG_ID_CURRENT_SITE’, 1);
    PSS: my multi-site .htaccess file

    RewriteEngine On
    RewriteBase /blog/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    # BEGIN WordPress
    # <IfModule mod_rewrite.c>
    # RewriteEngine On
    # RewriteBase /blog/
    # RewriteRule ^index\.php$ – [L]
    # RewriteCond %{REQUEST_FILENAME} !-f
    # RewriteCond %{REQUEST_FILENAME} !-d
    # RewriteRule . /blog/index.php [L]
    # </IfModule>
    # END WordPress

    @brazen4 – per the forum guidelines, start your own post topic (think of these as help tickets) and I and others will be glad to help you out.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Recurring Problem with 3.6, core files in subfolder, site url at root’ is closed to new replies.