Error wp-config

  • Unknown's avatar

    Hello,
    I moved my WordPress website from a subdomain to the root folder. But when I included
    the following lines of code in the wp-confing

    define(‘WP_DEBUG’, false);
    define(‘WP_HOME’,’http://www.mywebsite.com/’);
    define(‘WP_SITEURL’,’http://www.mywebsite.com/’)
    /* That’s all, stop editing! Happy blogging. */

    It’s giving me an error in the

    /** 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’);
    /* Memory Limit */
    define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ );

    What can I do?
    Thanks

  • Hi there!

    Can you please let me know the address of the site you’re working on?

    Please note that these forums are for WordPress.com hosted sites only. If your site is using the open-source WordPress.org software you need to seek help at these forums:

    https://wordpress.org/support/forums/

  • The topic ‘Error wp-config’ is closed to new replies.