Hi guys I was asked to add a wordpress blog to a website, I was wondering if there was a way to let the existing website admin area use the same login as wordpress admin!
P.S: I know that I can make a wordpress plugin to control the existing website from inside wp-admin, but I don't want to do this. So is there a way to include some wordpress page or function in the header of the existing admin panel?
[edit] as the website prevented me from answering the question: Your answers gave me some brain storming and Voila! I read this article: http://www.linickx.com/1016/root-cookie-tutorial-1-accessing-wordpress-cookies-from-custom-scripts and then used the plugin: http://wordpress.org/extend/plugins/root-cookie/ Through it I could move the cookies place, and added the following piece of code to the existing CMS header:
<?php
define('WP_USE_THEMES', false);
require('../portal/wp-load.php');
require_once('../portal/wp-config.php');
if (!is_user_logged_in()){auth_redirect();}?>
I wish my solution will be useful!