Url filtering

Not a great solution, but it works for now.

Any ideas on a better solution?