Forums

Same site with different templates on different domains (7 posts)

  1. JonathanEx
    Member
    Posted 4 years ago #

    This is a bit of an odd question to place, but I assume it would be a plugin I would need to do this. And I'm going to mention the site name/address as a case of making it clear, not advertising. Just making it clear so I don't look like a jerk.

    Basically, I do BritishGaming.co.uk - a pretty popular blog, guess the content and target market from the URL. As people will know, the new E3 is coming up, and I'd like to use a different template on the site to format it better for E3. Posting so much more per day might not work best on the current template.
    However, I don't want to end up changing the main site experience. I want to have it so that when a visitor goes to say, e3.britishgaming.co.uk (ignore the content there, that's E3 2006) they see a different template, but it's still loading up the exact same content. Same db and all.
    Obviously, that's quite tricky. Well, I think it is anyway. If it helps, our server does subdomains so that britishgaming.co.uk/e3 is the same as e3.britishgaming.co.uk, if that makes coding any easier.

    Hope there's a way of doing this,
    Jon

  2. Funkphenomenon
    Member
    Posted 4 years ago #

    You mean you want to produce a duplicate site? That's not something that will help you from a search engine point of view, check out http://www.google.nl/search?q=penalty+duplicate+content.

    Why not just switch templates temporarily, or build an E3 section?

  3. JonathanEx
    Member
    Posted 4 years ago #

    Maybe not straight up duplicating: I really just want to offer another way of navigating the site, so I guess one of those plugins which allows people to chose a template, and I just have an include at e3.bgb.co.uk for the E3 template version.

  4. moshu
    Member
    Posted 4 years ago #

    It will not work because 2 of the very basic but MAIN settings, namely site_url and home (the two URI options you set in the admin > Options > General) are stored in the database!
    Which means you cannot display the same content from one database on two domains!

  5. JonathanEx
    Member
    Posted 4 years ago #

    Hmmm. Is my other plan (reply 2) or any other ways feasible for achieving pretty much the same main effect?

  6. Funkphenomenon
    Member
    Posted 4 years ago #

    Maybe you could redirect all people from that E3 subdomain to your main site, while sending some parameters to select the E3 template?

    For this, you'd need a PHP stylesheet switcher (for choosing the template) and some rules in your .htaccess (for the redirect). (I'm not into server-side development, so I don't know the details, only the general idea.)

  7. hbalagh
    Member
    Posted 4 years ago #

    I've got my personal blog

    http://www.heathersblog.com with one style

    then i also have it at

    http://www.heatherbalagh.com/blog/ with a totally different style...

    i have it posted how i did it here

    http://www.heathersblog.com/2007/multiple-blogs-same-content/

Topic Closed

This topic has been closed to new replies.

About this Topic