add haystack stuff to urls