• Hi.
    I am trying to integrate wordpress to an existing site.
    This is my directory structure.
    http://localhost/project => The front end.

    http://localhost/project/admin => The back end.
    I have a different table for admin credentials.

    Now i have installed wordpress into my site. ie.
    http://localhost/project/wordpress

    What i want is when i login to my site, and click on blog, i should be able to directly log in to wordpress and start posting.

    i have heard that it is possible through wordpress cookies but am not sure. Is this the right way of directory structure? thanks..

Viewing 1 replies (of 1 total)
  • Thread Starter idcoder

    (@idcoder)

    ok..after a search, i found out that the cookie is double hashed for security reasons. what i want is when i login to my custom admin account, i set the cookie my self and so wordpress can check for the cookie and auto login.

    The cookie name is generated as follows.
    $cookie_name = "wordpress_".md5($siturl);

    Now i need to find the cookie value and how it is generated.

Viewing 1 replies (of 1 total)
  • The topic ‘Auto login to wordpress when logged in from another site.’ is closed to new replies.