MapleOne
Well-known member
On my site we use something called Market Pages and each user gets a custom URL to their page
ie: domain.com/market/username
The problem I am having is the /username part which is obliviously lower case, but I'm trying to figure out if one types...
domain.com/market/UserName how it could then default to domain.com/market/username without getting an oops.
I suppose I could make two route filters, I did that on a test name and it worked but it seems redundant to do that for every user.
On TwitterX it goes through regardless of caps or not so ideally I would like my user names to do similar but they don't have to display in the address bar as caps.
For publishing the address the Capitals can make a nice visual aspect to a user name.
ie: domain.com/market/username
The problem I am having is the /username part which is obliviously lower case, but I'm trying to figure out if one types...
domain.com/market/UserName how it could then default to domain.com/market/username without getting an oops.
I suppose I could make two route filters, I did that on a test name and it worked but it seems redundant to do that for every user.
On TwitterX it goes through regardless of caps or not so ideally I would like my user names to do similar but they don't have to display in the address bar as caps.
For publishing the address the Capitals can make a nice visual aspect to a user name.