• I have a site before(pligg), now I install wordpress in a subdir, and now I want wordpress use the same user data. So I tried to write a module for it.

    here is the way:
    1.user register on original site -> also write into wordpress’s database.

    2.user login on original site -> check username and password in wordpress’ database, if there is none, create one.

    3.if username is in wordpress’ database, login wordpress.

    I think the 3rd step is important, it need to write something into cookie. I had tried for a long time, but still fail.

    and it seems I cannot make the funtions work though I had include their files.

    any instruction help for this?

  • The topic ‘how to login wordpress from outside?’ is closed to new replies.