WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Login once for all domains (2 posts)

  1. Aasim Hussain Khan
    Member
    Posted 2 years ago #

    Hi,

    I have 1 main site and 4 sub sites,

    example.com

    example.com/sub1/
    example.com/sub2/
    example.com/sub3/
    example.com/sub4/

    I am using the same database with different table
    prefixes. I have made all sub-sites to access same user table by

    define('CUSTOM_USER_TABLE', 'example_users');
    define('CUSTOM_USER_META_TABLE', 'example_usermeta');

    in wp-config.

    Now I want that if a user logins in any one of the site he

    must be logged-in in all other sites.

    How do I do that? Please help.

    I am using shared hosting on ipage.

  2. Anshu Verma
    Member
    Posted 2 years ago #

    Have tried looking at wordpress multisite? That should solve your problem.

Topic Closed

This topic has been closed to new replies.

About this Topic