-
AuthorPosts
-
October 27, 2017 at 8:57 am #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 30, 2017 at 2:42 am #1070803Hi,
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.
October 30, 2017 at 6:51 am #1070857UDEB template switch me to default template language..
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 31, 2017 at 4:15 am #1071198Could you share the URL so I can take a look?
October 31, 2017 at 6:51 am #1071229This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 31, 2017 at 7:26 am #1071245This reply has been marked as private.October 31, 2017 at 7:35 am #1071250This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 1, 2017 at 2:26 am #1071477This reply has been marked as private.November 1, 2017 at 7:01 am #1071530This reply has been marked as private.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 2, 2017 at 6:43 am #1071827As 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.
-
AuthorPosts
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