Poll: URI language identifier in core? You do not have permission to vote in this poll. |
|||
yes | 22 | 52.38% | |
no | 11 | 26.19% | |
maybe | 9 | 21.43% | |
Total | 42 vote(s) | 100% |
* You voted for this item. | [Show Results] |
Add URI Language Identifier to core? |
From what I've read, both of canonical URLs and 301 redirects are possible methods, I hesitate. Now I did redirection, code for this is within the router and it is dirty, because there is no controller instance created, I don't like it.
Maybe canonicalization would be better, and for making it easy, base controller (for example) should propose a default method for generation of canonical URL. TODO. Edit: I got in favor for canonicalization, because it would deal with more duplicates: http://site.com/ http://site.com/index.php http://site.com/welcome http://site.com/welcome/ http://site.com/welcome/index http://site.com/welcome/index/ |