Made search url absolute, for some reason it wasnt working with relative