WordPress.org

Ready to get started?Download WordPress

Forums

requrie ('wp-blog-header.php') from virtual server (1 post)

  1. lukebenjamin
    Member
    Posted 2 years ago #

    I am running into a little problem. The website I am working on is on a server and I want to integrate the latest posts into this general html/css site.

    I have done this many times before however, this time I need to call out to the WordPress blog that is on a Virtual Server and not the same server on which the website will be hosted. I am beginning to see that using http:// in the require code is a no no. As shown below:

    <?php require ('http://domain.com/blog/wp-blog-header.php'); ?>

    Can anyone help me in finding a way to use the require to talk to another server?

    Much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic