Welcome Guest, Not a member yet? Register   Sign In
Force lower case url's
#8

[eluser]xwero[/eluser]
And i though the internet was a peaceful place :bug:

Like i said the full uppercase segment returns a 404 message so it can't link to the same content as the lowercase url. I think the same thing happens if you have routed urls.

If you are afraid competitors are going to manipulate your urls to give you a bad page ranking you shouldn't enable query strings because that would be a way to pass on links with duplicate content. site.com/index.php/controller/method is than the same as site.com/index.php?c=controller&m=method. But if you do need query strings to add to some urls you could add a check to see if the url isn't routed from a full query string.
Code:
if(isset($_GET['c']))
{
    redirect('badurl');
}


Messages In This Thread
Force lower case url's - by El Forum - 04-23-2008, 04:53 PM
Force lower case url's - by El Forum - 04-23-2008, 07:53 PM
Force lower case url's - by El Forum - 04-23-2008, 07:56 PM
Force lower case url's - by El Forum - 04-24-2008, 01:38 AM
Force lower case url's - by El Forum - 04-24-2008, 02:03 AM
Force lower case url's - by El Forum - 04-24-2008, 02:31 AM
Force lower case url's - by El Forum - 04-24-2008, 09:39 AM
Force lower case url's - by El Forum - 04-25-2008, 01:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB