Questions tagged [yii-url-manager]

The management of URL-addresses in web applications in the Yii framework.

The management of URL-addresses in web applications in the (Yii) framework. It involves two aspects:

  • The application needs to parse the query the user enters in the form of URL, for individual parameters;
  • The application must provide a method for forming address URL, with which it will work correctly.

In the Yii applications these problems are solved using a class CUrlManager.

The project API docs: http://www.yiiframework.com/doc/guide/1.1/en/topics.url

216 questions
-1
votes
2 answers

Yii2 url config not working

I'm using yii2 and i want url to be this way: example: backend.dev/ads/browse/city/london My code is this(backend/config/main.php): 'urlManager' => [ 'enablePrettyUrl' => true, 'showScriptName' => false, 'rules' => [ …
MHF
  • 211
  • 2
  • 14
-1
votes
1 answer

how to add post fix to every yii url

I am working on application having different modules which are now categories in three categories (lets say cat1, cat2 and cat3) . How can i add these categories as postfix to write urlManager rules? so it will read links like this…
-1
votes
1 answer

Redirect without showing default action index - Yii

I want to know if is possible using $this->redirect() statement ,to redirect to a different controller but without showing the action , I mean, if i want to redirect to controller Person by default yii goes to Person/index, I want to redirect to…
General Electric
  • 1,176
  • 3
  • 21
  • 44
-1
votes
1 answer

how to use url manager in yii to change url to seo friendly

I have an url like http://demo.examplesite.com/videos/9#part-1 How can i change this to http://demo.examplesite.com/videos please provide solution for this
-1
votes
3 answers

search url manager in Yii

I implemented my project in Yii. i done URL management its working fine. but i search URL is not being proper. i added my code here. please tell me how to change this code according to my URL.. my main.php:
-2
votes
1 answer

Yii2 UrlManager + wrong generate route

I have some problem - urlrules is correct but generated url from yii\bootstrap\Nav not correctly ->: {domain}/armory/search?server=Lorem+ipsum but this url working too -> {domain}/armory/search/Lorem+ipsum 'search/' => 'search/index' url…
Qblolz
  • 1
  • 1
1 2 3
14
15