Welcome Guest, Not a member yet? Register   Sign In
Poll: URI language identifier in core?
You do not have permission to vote in this poll.
yes
52.38%
22 52.38%
no
26.19%
11 26.19%
maybe
21.43%
9 21.43%
Total 42 vote(s) 100%
* You voted for this item. [Show Results]

Add URI Language Identifier to core?
#9

(This post was last modified: 04-13-2015, 02:45 PM by ivantcholakov.)

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/
Reply


Messages In This Thread
RE: Add URI Language Identifier to core? - by ivantcholakov - 04-13-2015, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB