WordPress.org

Support

Support » Plugins and Hacks » Hacks » including wordpress core from a non-web dir

including wordpress core from a non-web dir

  • ragulka
    Participant

    @ragulka

    Hey, i’m trying to run a script from /www/mydomain/subfolder/ – and i need to include wp-load.php in it.
    Wordpress is installed in /www/mydomain/public_html/

    However, it seems that wordpress thinks it’s not installed. And I seem to have tracked the isse down to the database settings (constants: DB_USER, etc) not being accessible by other files than wp-config.php itself

    So – can anyone please help me – is there a way to include wordpress core thw way I’m trying to do it?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘including wordpress core from a non-web dir’ is closed to new replies.