Can't include wp-load.php outside wordpress site using recent version of wordpress

  • Unknown's avatar

    Good Day,

    I would like to include WordPress API in an external file by requiring/including wp-load.php file but the script redirects me to the index page of my wordpress site which has a version of 4.4.2. I tried on the previous version of wordpress and I don’t have any problem with it.

    Could you please help me this problem or what should be the best way to include/require wp-load.php file?

    Thanks!

    The blog I need help with is: (visible only to logged in users)

  • These forums are for folks hosted here on WordPress.com.

    Since your site is self-hosted, with the WordPress software running on your own hosting, you can try asking for help over in the WordPress.org forums:

    https://wordpress.org/support/

    You’ll need a free WordPress.org account to post – if you don’t already have one, you can register here:

    https://wordpress.org/support/register.php

  • The topic ‘Can't include wp-load.php outside wordpress site using recent version of wordpress’ is closed to new replies.