WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] One Blog, 3 subdomain, 3 themes (2 posts)

  1. mr_zhang
    Member
    Posted 5 years ago #

    Hi,

    I've tried searching google and this forum and I still can't find it.

    Actually what I want to do with wp is this:
    - I have domain.com (English), French.domain.com, and German.domain.com

    - I want each of them to only display the post of each language.

    - Each would also have a different theme. Each with a static front page. Thus I will have 3 static front pages with 3 themes.

    - However, the search system is combined. So if people on english domain searching French content, it will display the result, but when clicked it will go to the French subdomain.

    - Also the login system is combined, so the user could login from English and comment to French subdomain easily.

    - So it's basically one blog but with 3 themes.

    Any plugin or idea on how to do that?

    Regards,

  2. mr_zhang
    Member
    Posted 5 years ago #

    Well, i've somehow managed to get around with it and solved the case.

    It's in
    http://codex.wordpress.org/Category_Templates

    Instead of sub-domains, I could get them all inside categories and named the categories as similar as directory structure.

    So I now have:
    http://www.domain.com/english/
    http://www.domain.com/french/
    http://www.domain.com/german/

    Then I created category-x.php template for each language.

    The x is the category number, which we can see from the database at table wp-terms.

    It's not sub-domain, but it works great, I now can create special template for each category. :D

Topic Closed

This topic has been closed to new replies.

About this Topic