Added method to convert search terms to url fragments.