• I just moved my site from a subfolder (nyintl.net/tep/dev)into the main folder of my subdomain (tep.nyintl.net). I followed the instructions here: http://codex.wordpress.org/Moving_WordPress

    I made sure to update WordPress address (URI) and Site address (URL) before moving, but now I am getting errors that, I think, show that WP is trying to find things in the old directory.

    You can see here: tep.nyintl.net

    Ex:

    Warning: include(/home1/nyintl/public_html/tep/dev/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home1/nyintl/public_html/tep/wp-content/plugins/wp-super-cache/wp-cache.php on line 63

    Any ideas what could be causing this error?
    One possible issue – which, if it is this I have NO idea how to fix it – is that I pointed the URI and URL to tep.nyintl.net but maybe it’s reading differently than nyintl.net/tep? (tep.nyintl.net’s root folder is nyintl.net/tep)

    Any help or suggestions would be greatly appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    If you follow the instructions carefully in Allow WordPress to take over the root domain it will work.

    Thread Starter ashleyrclark

    (@ashleyrclark)

    Aren’t those instructions for if I want it to remain within a subdirectory while having the url be that of the main directory? I have nothing to change require( dirname( __FILE__ ) . ‘/wp-blog-header.php’ ); to. All the files are already in the directory I am using. I don’t want to call a subdirectory.

    If I change to require( dirname( __FILE__ ) . ‘/tep/wp-blog-header.php’ );
    Then I get an error because it is IN the tep folder already and then is looking for a subfolder also called tep.

    :/

    Since the error appears to have something to do with WP Super Cache, I would disable that plugin first.

    Not familiar with the plugin so I’m not sure if you can flush the cache completely, or if there is a configuration setting where you set the URL.

    If all fails, remove the plugin completely, and re-install it from scratch.

    Thread Starter ashleyrclark

    (@ashleyrclark)

    I can’t log in due to the errors I have mentioned.

    WP Super Cache isn’t a plugin, it’s what added the rewrite rules to the .htaccess file. I need the rewrite rules because otherwise it will look in the “dev” folder for all my files. But I do think there is something wrong with the rewrite because some files are still being looked for in the dev folder anyway

    Moderator t-p

    (@t-p)

    I can’t log in due to the errors I have mentioned.

    Try deactivating via FTP or SFTP or whatever file management application your host provides.

    WP Super Cache isn’t a plugin

    Respectfully, I disagree: http://wordpress.org/plugins/wp-super-cache/

    The extra lines in your .htaccess were likely added by this plugin.

    Like Tara said, you’ll have to log in through FTP and then disable the plugin by going into the /wp-content/plugins folder and rename wp-super-cache to something else. This will disable the plugin automatically.

    Thread Starter ashleyrclark

    (@ashleyrclark)

    Ah I see. It wasn’t listed in my plugin list, thus I assumed it simply came with WP. Either way, I got help elsewhere and fixed it. Thanks all who responded.

    For posterity:
    I had to open the wp-config.php file and edit the define( ‘WPCACHEHOME’ line to remove the old path and update it with the new path.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Moved site from sub-folder to root. Getting errors now – is it my .htaccess?’ is closed to new replies.