Forums

[resolved] Wordpress folder on one server, index.php on another (4 posts)

  1. lydiat
    Member
    Posted 3 years ago #

    I'm using Wordpress as a back-end for a website and my boss wants me to keep the Wordpress folder on an intranet server for security purposes, with the index.php on a different server. In General Options I've set the Wordpress address and blog address to the correct servers, and in the index.php I've set the require to ('http://other.server.com/wordpress/wp-blog-header.php');
    so far, the index.php shows nothing. Does anyone have experience with any of this? What am I doing wrong? Thanks in advance for the help.

  2. silpstream
    Member
    Posted 3 years ago #

    I've not tried this, but it would help to know what version of PHP and the platform you are on. For Windows, anything prior to 4.3.0 doesn't support http in the require function.

    However, on the side I fail to see how this makes it more secure. Wouldn't setting up 2 vlans and mapping the remote drive over with security in between, be cleaner and easier to manage?

  3. lydiat
    Member
    Posted 3 years ago #

    Resolved! Instead of requiring the wp-blog-header file from the other server, I simply required the index.php.

    Silpstream, thanks for your suggestion.

  4. silpstream
    Member
    Posted 3 years ago #

    lol... that would have been a method that I wouldn't have thought up. An index.php file that includes a remote index.php file... ;-p

    Good thinking!!! Glad you fixed it!

Topic Closed

This topic has been closed to new replies.

About this Topic