fix for finding post with url prefix