I would like to check a URL to see if it contains one of multiple strings, and then based on that, send it to a different URL. Am I forced to use multiple lines, one for each possibility? Or is there anyway to form an if statement? I figured that something like this should work:
because in my case, multiple strings will never be found, so the extra strings will be NULL in the redirected URL. however, that only works if I want to use the string itself as the modified part of the new URL, which I do not.
At what file size do I need to start worrying about my file load time?