add post dedication and add encoding for search term