Yii Framework Forum: how to allow any url - Yii Framework Forum

Jump to content

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

how to allow any url

#1 User is offline   desatir7316 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 569
  • Joined: 19-March 14
  • Location:iran, tehran

Posted 15 December 2015 - 01:19 AM

Hi there
I need to accept any url separated by slash sign (/) in default controller/action without entering the controller/name in url:

for example :
myapp/a/b/c/d/e/...

it will go to
myapp/site/index/a/b/c/d/e/...

how to solve it?
thanks in advance.
0

#2 User is offline   desatir7316 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 569
  • Joined: 19-March 14
  • Location:iran, tehran

Posted 15 December 2015 - 04:33 AM

seems solved:
http://forum.iranphp...%B1%D8%A8%D8%B1
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