Register here!

Forgot password?

ASK NEW QUESTION

Home Page » Url Management
0 Votes

UrlManager Configuration for Unlimited Depth of category/subcateogries

categories/subcategoriesurlManager

Hi,

I am facing problem in writing rule for the URLManager to get Unlimited depth of Categories and Subcategories

I have created the Url as category/sub-category/sub-category but when I use it withoutREAD MORE

By perochak · Asked 341 days 6 hours 58 mins ago

Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0

0 Votes

How to setup urlManager to make url more friendly for SEO

seo friendlyurlManager

Hello Everyone!,

How to setup urlManager to make url more friendly as like as http://yiianswers.com or http://yiiframework.com or http://mydomain.com/post/up-coming-calendar/year-2012

Please help me asap.

Thanks in Advance

By Hrishita · Asked 576 days 12 hours 32 mins ago

Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0

0 Votes

help with user friendly URL rule

ruleurluser-friendly

I have a static array like this:

  1. array
  2. (
  3.      [city_id] => 1
  4.      {city_name] => "baltimore"
  5.  
  6.      [city_id] => 2
  7.      {city_name] => "newyork"
  8.  
  9. )
array
(
     [city_id] => 1
     {city_name] => "baltimore"

     [city_id] => 2
     {city_name] => "newyork"

)

Change from:READ MORE

By Flavio · Asked 590 days 14 hours 19 mins ago

Questions: 1 Accepted: 0 ( 0% ) | Reputation: 0

0 Votes
Solved!

Controller – Friendly URL rules

controllerFriendly URLurlurlManager

Hi, I’m having some problems using the Controller -> createUrl() function, I don’t know what is wrong.

$this->createUrl(‘mycontroller/view’, array(‘id’ => 1 , ‘title’=>’test’ ))

it returns something like:

http://mysite.com/mycontroller/1?title=test

instead of:

http://mysite.com/mycontroller/1/test

Here is myREAD MORE

By olivercera · Asked 598 days 12 hours 30 mins ago

Questions: 3 Accepted: 0 ( 0% ) | Reputation: 0

© YiiAnswers.com 2011. All rights reserved.

Switch to our mobile site