Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • sae sae Friend
    #1070487

    I have two different domains (let’s say http://www.site1.com and http://www.site2.com) that point to the same hosting server.

    I need the two different domain names because I want to use the first one for the russian contents and the second one for the english contents. The contents are the same, unless for the language, but the domains have to be different.

    So, I’d like to write a rule that lets me translate from:

    www.site1.com to /index.php/ru/
    
    www.site2.com to /index.php/en/

    I tried .htaccess solution:
    RewriteCond %{HTTP_HOST} ^www.nicetu.spb.ru [NC]
    RewriteRule ^(.*)$ index.php/ru [NC,QSA]

    RewriteCond %{HTTP_HOST} ^www.rec-etu.com [NC]
    RewriteRule ^(.*)$ index.php/en [NC,QSA]

    But it’s not working with UBER template.. how to solve this problem?

    Saguaros Moderator
    #1070803

    Hi,

    You mean that it works with default Joomla template?

    You can contact your host for best help on this as it relates to the rule in the server.

    sae sae Friend
    #1070857

    UDEB template switch me to default template language..

    Saguaros Moderator
    #1071198

    Could you share the URL so I can take a look?

    sae sae Friend
    #1071229
    This reply has been marked as private.
    Saguaros Moderator
    #1071245
    This reply has been marked as private.
    sae sae Friend
    #1071250
    This reply has been marked as private.
    Saguaros Moderator
    #1071477
    This reply has been marked as private.
    sae sae Friend
    #1071530
    This reply has been marked as private.
    Saguaros Moderator
    #1071827

    As I can see this URL is working correctly: http://www.nicetu.spb.ru

    For this one: rec-etu.com it’s domain of current site so when you click to open it will go to the default page of your site.

    You can switch default template on your site to a standard template of Joomla, you will see the same. I suggest you to post a same topic into Joomla forum for further help.

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 9 replies, has 2 voices, and was last updated by  Saguaros 7 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum