Author Topic: how files Languages redirection to subdomain ..?  (Read 7145 times)

0 Members and 1 Guest are viewing this topic.

Offline sammas

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Games to girls
how files Languages redirection to subdomain ..?
« on: April 18, 2008, 11:52:01 PM »
hi all

how files Languages redirection to subdomain ..?

Example

http://www.al3by.com/?l=french
to
http://french.al3by.com

--
http://www.al3by.com/?l=english
to
http://english.al3by.com

--
thanks

Offline asd.m

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: how files Languages redirection to subdomain ..?
« Reply #1 on: April 19, 2008, 06:30:50 AM »
I don't think that u can do it

there is a way but it may take big space from ur site

the way that I think that u could do it by Coping all ur file to other folder and it name will be for example ( Arabic ) and u are going to add all the language file in the file English 

than
make new folder and do same as what I explained before but in English  folder put other language French for example and so on

and I really like ur site :)

بالعربي شرح بما انك عربي زيي :)

ماعتقد تقدر تسوي هالطريقه برمجياً
لكن زي ماقلت لك تقدر تسويها بـ طريقه لكن بتاخذ مساحة كبيره من موقعك
وهي انك تنسخ جميع ملفات المجلد الخاص بـ الالبوم وتحطم في الساب دومين
باسم الغة الي تبغاها
والغة الرئيسية الي انت حاطنها في لوحة التحكم هو المجلد الي راح تحط فيه ملف كل لغة

اتمنى تكون فهمت قصدي :)

وبالمناسبه موقعك حلو :)

تحياتي
If u need any help
add me and I'll help u if I can :)

My email

4images@f7up.com

الى اية مساعده
اضفني على المسنجر

Offline sammas

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Games to girls
Re: how files Languages redirection to subdomain ..?
« Reply #2 on: April 19, 2008, 07:50:56 AM »
مرحبا : asd.m
أهلا و سهلا بك
أعرف أنها صعبة من ناحية برمجة أو إنشاء مجلد فرعي

لكن الأمر يختلف هنا لابد من إستخدام
htaccess
لعمل سب دومين وهمي من السيرفر و الاباتشي

الأمر سهل جدا و بسيط و لكن أحتاج فقط الأكواد الصحيحة لعملية التحويل

Hello: asd.m
Welcome

I know they are difficult in terms of programming or the creation of a sub-domain

But it's different here to be used
Htaccess
Insulting to the work of double fictitious server and Apache

It is very easy and simple, but I need only correct logic of the process of conversion

وياهلا فيك ببن الإمارات بموقعي منورنا
مع ان كلامك كله فصحى وبعضه سعودي الا ان كلمة
"حطنها"
عرفت انك إماراتي وان شاء الله توقعي صحيح :)

سلام
see you

Offline asd.m

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: how files Languages redirection to subdomain ..?
« Reply #3 on: April 19, 2008, 04:32:56 PM »
هلا اخوي :)


شخصيا ماعتقد ان الطريقه الي تتكلم عنها موجوده

لكن يمكن موجوده ونتعلم منك :)

وبالنسبه الى "حطنها" انا كتبتها " حاطنها " :)

وانا سعودي طال عمرك :)

Hello :)

I don't think the way that u need to do is impossible
I hope that u fund way to do it :)
If u need any help
add me and I'll help u if I can :)

My email

4images@f7up.com

الى اية مساعده
اضفني على المسنجر

Offline sammas

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Games to girls
Re: how files Languages redirection to subdomain ..?
« Reply #4 on: April 19, 2008, 07:30:55 PM »
ياهلا ومرحبا فيك طبعا خليجنا واحد وكلنا واحد  :)

و يطولي بعمرك يا أسد

لا موجودة وعندي مبرمج عملها لي بموقع ثاني وناجحة
100%

ولكن لما جربت نفس الاوامر في موقعي الثاني الي هو العبي وللأسف ماظبطت ولا اعرف السبب
على فكرة تحويل للسب دومين مهم جدا في محركات البحث وكسب زوار بالاف
شكرا لك وننتظر باقي الأخوة

--
Thank you for your reply,
Is not difficult, not stores

It is easy, but requires the installation tool on the server
Name tool: subdomain fictitious + Use Apache orders with htaccess

But I need orders with the correct use of the quality of the links

Example

http://www.al3by.com/?l=french
to
http://french.al3by.com

--
http://www.al3by.com/?l=english
to
http://english.al3by.com

--
thanks

Offline sammas

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Games to girls
Re: how files Languages redirection to subdomain ..?
« Reply #5 on: April 20, 2008, 02:03:58 AM »
 :cry:

Offline sammas

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Games to girls
Re: how files Languages redirection to subdomain ..?
« Reply #6 on: April 20, 2008, 02:06:48 AM »
my htaccess on subdomain to Languages not work
sad :(

look
######### english
RewriteCond %{HTTP_HOST}      ^(www.)?al3by\.com$ [NC]
RewriteCond %{REQUEST_URI}      ^/.*\.?l=english$
RewriteRule ^(.*)         http://english.al3by.com [R=301]
RewriteCond %{HTTP_HOST}      ^(www.)?al3by\.com$ [NC]
RewriteCond %{REQUEST_URI}      ^/.*\.?l=english$
RewriteRule ^(.*)         http://english.al3by.com/$1 [R=301]
RewriteCond %{HTTP_HOST}      ^(www.)?english\.al3by\.com$ [NC]
RewriteCond %{REQUEST_URI}      ^/$
RewriteRule ^(.*)         http://www.al3by.com/.*\.?l=english [P]
RewriteCond %{HTTP_HOST}      ^english\.al3by\.com$ [NC]
RewriteRule ^/(.*)$         http://www.al3by.com/$1 [R=301]

help me

Offline sammas

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Games to girls
Re: how files Languages redirection to subdomain ..?
« Reply #7 on: April 20, 2008, 09:35:28 PM »
thank you :(