Forums

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

  1. alexfc
    Member
    Posted 1 month 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,

    Alex

  2. eagerness
    Member
    Posted 3 weeks ago #

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

  3. eagerness
    Member
    Posted 3 weeks 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:
    <?php
    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.

Reply

You must log in to post.

About this Topic