WordPress.org

Ready to get started?Download WordPress

Forums

Custom 404 for Private Posts (1 post)

  1. Gabriel
    Member
    Posted 2 years ago #

    When a loged out user tries to visit a post on my website that is set to "Private" he/she will get a 404 error.

    Is there a way one could customize the 404 page so when visiting a private post and if your not logged in, it redirects to the login page?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags