This function takes the following parameters:
Pointer to the original URL.
Pointer to the query parameter to be removed
Pointer to a pointer to the location of the new URL without the query parameter.