search on permalink and id as well