1. Documentation /
  2. 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.

Questions and Support

↑ Back to top

Do you still have questions and need assistance? 

This documentation is about the free, core WooCommerce plugin for which support is provided in our community forums on WordPress.org. Searching there you’ll often find that your question has been asked and answered before.

If you haven’t created a WordPress.org account to use the forums, here’s how.

  • If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the Woo Marketplace.
  • Need ongoing advanced support, or a customization built for WooCommerce? Hire a WooExpert agency.
  • Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.

If you weren’t able to find the information you need, please use the feedback thumbs below to let us know! 🙏