WordPress.org

Ready to get started?Download WordPress

Forums

Using WordPress outside of the Doc Root (2 posts)

  1. webrob
    Member
    Posted 5 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
    Member
    Posted 5 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

Tags

No tags yet.