Welcome Guest, Not a member yet? Register   Sign In
Password-Protected Directories w/ WordPress Installs
#2

Hi,

It is an interesting question.

I do not think you can put wordpress 'within' CI.

But, you could easily add a redirect into your wordpress header (or wherever) that perhaps could be called if some condition is not met.

<?php
if (....) {
wp_redirect( $location, $status );
exit;
}
?>

Perhaps an ajax call to the CI folder to check if the users cookie is logged in or not? That might work.

Hope that helps,

Paul.
Reply


Messages In This Thread
RE: Password-Protected Directories w/ WordPress Installs - by PaulD - 02-10-2016, 10:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB