• 15 lines of code. Such a simple approach. I ended up simply adding this code to one of our existing in-house plugins for a multisite and slightly modified the code so it redirects to the parent domain of the blog / domain.

    echo '<meta http-equiv="refresh" content="1;URL=http://'.$_SERVER['HTTP_HOST'].'">';

  • The topic ‘Done and Done’ is closed to new replies.