Welcome Guest, Not a member yet? Register   Sign In
Blocking routes (multilingual site)
#1

[eluser]sqwk[/eluser]
Is it possible to create routes like so:

Code:
$route['login'] = 'users/login';

where the 'login' route will work fine, but the same content is no longer accessible though 'users/login'? Can one block routes?

If you wondering why, it is for multilingual urls. The language is selected depending on the .tld of the domain, however, the content is now theoretically accessible through multiple URLs, which I would like to prevent.




Theme © iAndrew 2016 - Forum software by © MyBB