1. Documentation /
  2. Get Help /
  3. Troubleshooting /
  4. Multiple installs on one domain + SESSIONS (conflict/session sharing workaround)

Multiple installs on one domain + SESSIONS (conflict/session sharing workaround)

If you are running multiple installs of WordPress on the same domain, and SESSIONS are being shared between your installs you can add the following to your wp-config.php file to prevent this from occurring:

if ( ! session_id() ) {
	session_name( 'PHPSESSID_1' );
}

You can change the name to something unique for each install.

WooCommerce

The most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment