redirect and preview unpublished content