WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ragulka
    Member
    Posted 4 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
    Member
    Posted 4 years ago #

    How you are including wp-load.php?

  3. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic