The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

including wordpress core from a non-web dir (3 posts)

  1. ragulka
    Posted 6 years ago #

    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?

  2. Kapil Chugh
    Posted 6 years ago #

    How you are including wp-load.php?

  3. Rev. Voodoo
    Posted 6 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic