wp-config issue
-
I have a new client with an existing site that works fine. I migrated the site to a different host and WP Toolkit is reporting an error, stating that wp-settings is not loading properly. The site works so I don’t understand the problem.
Here are the last lines in wp-config:
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', dirname(__FILE__) . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';I see that the ABSPATH is different from wp-config-sample. Should I change it to:
/** Absolute path to the WordPress directory. */
if ( ! defined( 'ABSPATH' ) ) {
define( 'ABSPATH', __DIR__ . '/' );
}
/** Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';Thank you!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘wp-config issue’ is closed to new replies.