using wordpress authentication for other pages
-
i have a few scripts on my site that need to be password-protected. since i’m already running wordpress, i was trying to piggyback onto WP’s authentication. however, this is proving very troublesome.
if i include wp-admin/auth.php into my scripts, as is suggested in some posts, then the page fails authentication, even if i have already logged in.
basically, the calling script gets redirected by the
if ( !veriflog() ) {
....
}
block, and then i’m shown the default admin page (post), since i actually AM logged on.
any ideas?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘using wordpress authentication for other pages’ is closed to new replies.