Different front page with Domain Mirror or Domain Theme (6 posts)

  1. alexfc
    Posted 5 years ago #

    Hey Guys,

    I'm trying to use Domain Mirror, or Domain Theme, so that different domains point to the same sites. They are for two companies I am running that will share the same widgets, news, etc, but will have different front static pages.

    I have setup both Domain Mirror and Domain Theme (separately) and both work fine, but do not offer the feature to have a different static page.

    Does anyone know of or can anyone think of a hack, or work-around that could let me do this? I would even be willing to pay someone for the help (not on a huge budget, but this will help me so much!)

    Many thanks,


  2. eagerness
    Posted 5 years ago #

    Im bumping this one as i have the same problem. Anybody?

  3. eagerness
    Posted 5 years ago #

    Hello again! I should have edited my previous reply, but im not able to :)
    After pulling my hair for a few hours Ive come up with a solution:

    Navigate to index.php in your templates directory edit it (or make a home.php and edit that one)

    In the file, put in:
    if (strstr($_SERVER['HTTP_HOST'], "domain")) {
    query_posts('page_id=4233'); }

    If the check is true, a certain page id is presented, if not its all standard.

  4. coolcash
    Posted 5 years ago #


    How did you setup your static section in the reading area?

  5. coolcash
    Posted 5 years ago #

    Just to clarify. When I use that code, my static page shows, but my "feed" page shows the static page also.

  6. db1987
    Posted 5 years ago #

    You couldnt give me some advice on how you got domain theme up and running, what DNS Settings do you have on your secondary domain?


Topic Closed

This topic has been closed to new replies.

About this Topic