plugin hide post and redirect