Forums

1 Website, 1 WP -> same user account (1 post)

  1. Derzone
    Member
    Posted 1 year ago #

    Hi,

    I would like some help with a new website I am on.

    - I got a WP installation running -> http://www.example.com
    - I want to make a subdomain -> sub.example.com

    This subdomain website will be handmade, without any wordpress installation. I will make a new database for it.

    The thing is that I would like to allow users to register once, and browse both domain and subdomain with the same account.

    ------------

    So 3 questions :

    1. When someone registers, how to duplicate his user account (only the things needed to log, and his avatar) in the subdomain database ? What is the registering query ?

    2. How to log someone in the subdomain ? What is the authentification query ?

    3. How to make the cookies available on both sites, so users don't have to log again ?

    ------------

    Thank's,
    and sorry for my english !

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.