• hi there.
    I’m trying to install another WP in a sub directory,but share the same database so users can login with same accounts.

    followed steps in guides,changed prefix from “wp_” in second installs config and it works. kinda.

    I added the define custom users and define custom user meta codes into the config file.

    you can log into 2nd WP using username and pass from original install,but user roles and permissions are not carrying over,so everyone, even Admins, only have subscriber permissions.

    would love to hear tips on fixing this.
    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • it’s working exactly as it should. although they use the same database, using a different prefix lets WP treat the two sets of tables separately.

    you should be looking at multisite instead.
    https://codex.www.ads-software.com/Create_A_Network

    Thread Starter Nerin

    (@nerin)

    are there any downsides to using multisite?
    I was kind of warned off it and directed to how I was doing it

    you’ll still have to add users to the 2nd site. if I’m not wrong they can have separate permissions for separate sites, but you can define this yourself.

    if you need some other admins to manage everything, you can make them super admins.

    Thread Starter Nerin

    (@nerin)

    damn. what I needed was one account for all.

    they still use one account. you assign them to sites. sorry for not being clear.

    Thread Starter Nerin

    (@nerin)

    I get you. but is there a way to have the network automatically assign signups to a site?
    I’ve 3k accounts to move.

    The way our phpbb forums are set up is that once someone signs onto the WP,they are signed into the forum and vice versa

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with Multi WP install, One database’ is closed to new replies.