• I have a multisite network with a log out link on each site. On log out, I redirect the user to the homepage for that particular multisite (using sub domains)

    wp_redirect( home_url() ); //redirect to homepage

    However home_url is taking the user to the main site ID 1 homepage, not the subsite homepage.

    How do I make them go to the sub site homepage?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Multisite subsite urls’ is closed to new replies.