How to redirect Wordpress to index?
How to redirect Wordpress to index?
Out of context: Reply #2
- Started
- Last post
- 3 Responses
- bigtrickagain0
if you want logged-in wordpress users to be able to access /wp/, use this in index.php on that page:
<?php
if ( is_user_logged_in() == false ) {
?>
<meta http-equiv="refresh" content="0;url=http://http://www.mydomain.com/index.php">
<?php
};
?>