I vote against carrying a giant library or case statement just to remove a www once in a while.
My vote is to simply show the domain and do away with this magic.
If we MUST … keep the magic for domains that end with .com and .org
I vote against carrying a giant library or case statement just to remove a www once in a while.
My vote is to simply show the domain and do away with this magic.
If we MUST … keep the magic for domains that end with .com and .org