• I have a hosting account with a primary domain and an addon domain.

    A wordpress installation is within the root folders, and within a subfolder that the addon domain is pointing to is a php file importing content from the wordpress installation.

    I’m using “require(‘../../w/wp-blog-header.php’);” and everything is importing just fine except user status. Posts and pages come through, but when I try “if ( is_user_logged_in() )” it’s not working at all.

    Why? And is there a way to check if a user is logged in?

  • The topic ‘If logged in on different url’ is closed to new replies.