WordPress.org

Ready to get started?Download WordPress

Forums

Display WP site on another domain name? (1 post)

  1. klynam
    Member
    Posted 2 years ago #

    I have a strange situation with a client and I'm not entirely sure how to word this question...

    We've created an installed WP on a domain we host and control, and it works fine. However, we need the existing WP site to actually display on another domain that (for numerous reasons beyond our control) we do not host.

    I understand how to get a sub-directory installation to resolve to the host domain using the basic changes in Settings and index.php here:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    Can this same (2-part) technique be used to have WP installed on one hosted domain, but appearing on another domain?

    Basically I would have this in my settings:

    WordPress Address (URL): set to the current installation
    Site Address (URL): set to the other domain

    And this in the index.php file on the other domain server:

    require('http://www.otherdomain.com/wp-blog-header.php');

    If not, is there another way to make this work without actually installing WP on the other domain (which we can't do right now)?

Topic Closed

This topic has been closed to new replies.

About this Topic