Wordpress - How to tell which database tables belongs to which multisite site

Look the wp_blogs table, theres "blog_id" and "path" to identify that. Does it help?


The number you refer to is the blog/site ID, so you have multiple methods of finding out which site it is:

  • Look in the sites table, the number should match the ID, providing you with a URL and title
  • Go to example.com/wp-admin/network/site-info.php?id=insert-number-here and you'll be shown the network admin UI for that site
  • Consider a plugin or custom column in the sites area of the network admin that displays the blog ID