title: How to Write an If Statement Based on Current Page?
body: <p>How can I write an if statement based on the current page? I need to have one that says: If not on <code>This Page</code> redirect <code>here</code>. There is more to it to check who is logged in, but that part is already handled. Just trying to limit access to one page.</p>