Using WordPress outside of the Doc Root (2 posts)

  1. webrob
    Posted 7 years ago #

    I have a site that uses WordPress but it is not at the root of my TLD. I would like to grab some information and use some built in functions from WordPress in a page on the root of my TLD.

    Is there some documentation on how to do this?

  2. s_ha_dum
    Posted 7 years ago #

    You'll have to include() the files that contain the functions you want to use. Start by including wp-config.php. It in turn, requires wp-settings.php which gets you a long way.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.