title: Structuring Wordpress PHP Redirect Plugin
body: <p>I'm attempting to create a very basic plugin to use for redirects on my Wordpress pages that detect if a user is logged in or not. I'm able to get just the if statement working, but I'm adding the else statement and not sure what part of the syntax I have wrong that creates a fatal error:</p>
  
  <pre><code>&lt;?php
  /*
  Plugin Name: Three Dot Redirects
  */
  
  add_action('wp_head', 'rhombus_gate_redirect');
  function rhombus_gate_redirect() { 
      if (is_page('rhombus_gate') &amp;&amp; is_user_logged_in()) {
      wp_redirect ( home_url("/constructs/pizza") );
      }
      else (is_page('rhombus_gate')) {
      wp_redirect ( home_url("/gate") );
      }
  
  }
  </code></pre>