We try to keep them as urlencoded VARCHAR s. (Since our URLs go to the database from the server, we encode them using PHP urlencode and then decode them when we get them using urldecode .) Don’t think that there’s still a lot to do - you probably could just save them as unencoded VARCHAR s.
source share