Thread Starter
Brehon
(@brehon)
Logs and Error Messages
Here is the original index file in the directory I wanted WordPress to be in.
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require( dirname( __FILE__ ) . '/wp-blog-header.php' );
wp-blog-header
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
here is the error.log
[17-Dec-2013 12:25:01 America/Detroit] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
[17-Dec-2013 12:25:01 America/Detroit] PHP Fatal error: Unknown: Failed opening required '/xxx/xxx/xxx/bootlegmedia.com/wp-cron.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
Meant to put these in the original post.
Thread Starter
Brehon
(@brehon)
Tara thank you. Follow up question. Since I already moved it to another folder, do I have to do the database changes? Aka the database was specific to the old folder?
Thread Starter
Brehon
(@brehon)
Second follow up – Since I have it still have it in the /wordpress sub, is there anything special I need to do to make that original subfolder work again?
My recommendation would be to leave everything in the /wordpress folder
As long as nothing was edited, everything will still work
Then follow the giving wordpress it’s own directory instructions @tara linked, it has a section specific to wordpress already installed in a subdirectory
it’s a simple setup, adjust your settings, copy files over to your root directory and a simple edit!
Hi Brehon.
When I first started using WordPress I made a few mistakes, So It’s a natural thing for this to happen. I don’t think anyone has got it right on the first try π
Depending on what you’re doing, and What content you have. It may actually be easier to reinstall WordPress on the new domain, and Use the Import/Export tool to export all your Posts and Pages, Then Import them to the new Installation, If you’ve made any customizations on the theme itself you can Copy over the Styles Sheet and Header, Footer whichever it was, And it will all display normally again. If you used a “Add Custom CSS” tool in the theme, You can always just copy and paste it to the new Installation.
And here is my tip of the day: If you transfer a website from one domain to another in the future, Once you’ve made the transfer and think everything is well, Go to the old account or folder and Rename the wp-content folder, Then go to the new Website and press Shift+F5 and if you see any issues, You haven’t transferred it properly.
Good Luck π
Thread Starter
Brehon
(@brehon)
Petru,
Thank you very much. Your input is actually very solid advice.
Rev, Voodoo,
Also good info, thank you.
Tara,
Thank you for the set of links π