Difference between #1 and #2 of
How to ensure unicity to url

Revision #2 has been created by Darwin Wen on Oct 27, 2011, 1:09:38 AM with the memo:

Add chinese version url
« previous (#1) next (#3) »

Changes

Title unchanged

How to ensure unicity to url

Category unchanged

Tips

Yii version unchanged

Tags unchanged

SEO, unique, URL

Content changed

[...]
}

}
```

Notice that you cannot add this rule for actionError and actionIndex, so if you want to make unique addresses in the site controller you cannot extend the master controller, but you have to implement a special method with exception for this two actions.

 
 
Links
 
-----
 
- [Chinese version](http://www.itkuaixun.com/bbs/thread-50-1-3.html "Chinese version")
 
13 0
17 followers
Viewed: 15 233 times
Version: 1.1
Category: Tips
Tags: SEO, unique, URL
Written by: zaccaria
Last updated by: marcovtwout
Created on: Jul 26, 2011
Last updated: 6 years ago
Update Article

Revisions

View all history