Yii Framework Forum: Rewrite url to subdomain format - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Rewrite url to subdomain format Rate Topic: -----

#1 User is offline   leenhat 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 14-January 12

Posted 11 July 2012 - 01:19 AM

Hi all,

Is there anyone who can help me the solution for rewrite URL to subdomain format?
Example: I have this link example.com/index.php?cate=it , and I really want to rewrite and display it in format like: it.example.com

Thanks for your helps!
0

#2 User is offline   yugene 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 504
  • Joined: 08-August 09

Posted 11 July 2012 - 09:55 PM

You may start with yii guide
0

#3 User is offline   leenhat 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 14-January 12

Posted 12 July 2012 - 04:34 AM

View Postyugene, on 11 July 2012 - 09:55 PM, said:

You may start with yii guide

Hi, Thanks yugene! I got it!
0

#4 User is offline   Srinivasan 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 34
  • Joined: 22-February 11
  • Location:Trichy, TN, INDIA

Posted 27 August 2012 - 11:10 AM

Hi leenhat

I also search the solution for it

But no luck yet.

Please help me to resolve the problem with step by step

ref: http://www.yiiframew...variable-value/

Note: just i want to get the language from my url's subdomain to any global variable or url parameter
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users