• Resolved verunar

    (@verunar)


    hi
    I moved my files but have a problem of configuring my config file. here is my structure:
    public
    |->.htaccess
    |->index.php
    |->wp-config.php
    |-> core
    |->custom
    |–>plugins
    |–>themes
    and this is my config file configuration:
    define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’]);
    define(‘WP_CONTENT_DIR’, realpath(ABSPATH . ‘/custom’));
    define( ‘WP_CONTENT_URL’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/custom’ );
    define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘public/core’ );
    define(‘UPLOADS’, ‘../uploads’);

    What’s wrong?

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘how to setup config file when moving wordpress core to subfolder’ is closed to new replies.