Answers.Body: <ol>
  <li>from the entry section of the control panel, select the site on which you want to disable all entries</li>
  <li>select the entries you'd like to disable</li>
  <li>use the set status dropdown and select &quot;Disabled&quot;
  <a href="https://i.sstatic.net/VDyRu.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/VDyRu.png" alt="enter image description here" /></a></li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-15T07:41:50.900Z
Answers.Text: This disables all versions within a same site group. This is not what I want, as in each site group I have multiple languages versions.
Answers.UserDisplayName: Romain P.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-15T09:35:51.507Z
Answers.Text: Strange, I just tested again and it only disables entries in the currently selected site, even if my 2 sites are in the same site group.
Answers.UserDisplayName: nstCactus
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-15T10:08:11.217Z
Answers.Text: Thanks! This website is running an old Craft Pro 3.0.22 version: maybe there were a related issue in this one. I tried on a brand new Craft Pro 3.5.9, and entries were disabled as explained in your answer. That said, the SQL query would probably be a quickest choice in a case of hundreds of entries to disable.
Answers.UserDisplayName: Romain P.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-14T19:46:36.597Z
Answers.LastActivityDate: 2020-09-14T19:46:36.597Z
Answers.UserDisplayName: nstCactus
Answers.Body: <p>I finally ended up with this SQL query, which result to disable all Entries of a site version:</p>
  <pre><code>UPDATE `craft_elements_sites` SET `enabled` = '0' WHERE `craft_elements_sites`.`siteId` = 2;
  </code></pre>
  <p>Where <code>2</code> is the <code>siteId</code>. After that, don't forget to clear the templates caches.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-15T07:48:37.527Z
Answers.LastActivityDate: 2020-09-15T07:48:37.527Z
Answers.UserDisplayName: Romain P.
Body: <p>A client asked me to <strong>temporarily</strong> disabled all of its entries of one of its Site in a specific language. This entries should not be accessible anymore from their URL.</p>
  <p>The quickest and cleanest way to hide them would be to delete this Site version, but this would result in deleting all related entries.</p>
  <p>As far as I know, the only way to hide them temporarily is to visit each Entry, then disabled the <em>Enabled for site</em> option, and after that make some changes in menu template to hide this Site version.</p>
  <p>As there's a very large number of Entries, this will be very  time consuming. Is there any cleaner or faster way to do that?</p>
  
Tags: <entries><control-panel><multi-site><sites>
Title: How to temporarily disable entries of one site version within a site group?
ThreadText: # How to temporarily disable entries of one site version within a site group?
  
  (Asked by: username_0 on 2020-09-10)
  
  A client asked me to **temporarily** disabled all of its entries of one of its Site in a specific language. This entries should not be accessible anymore from their URL.
  
  The quickest and cleanest way to hide them would be to delete this Site version, but this would result in deleting all related entries.
  
  As far as I know, the only way to hide them temporarily is to visit each Entry, then disabled the *Enabled for site* option, and after that make some changes in menu template to hide this Site version.
  
  As there's a very large number of Entries, this will be very time consuming. Is there any cleaner or faster way to do that?
  
  **Tags:** entries, control-panel, multi-site, sites
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2020-09-14. Score: 0 | Accepted answer
  
  1. from the entry section of the control panel, select the site on which you want to disable all entries
  2. select the entries you'd like to disable
  3. use the set status dropdown and select "Disabled"
     [![enter image description here](https://i.sstatic.net/VDyRu.png)](https://i.sstatic.net/VDyRu.png)
  
  > **Comments:**
  > **username_0**: This disables all versions within a same site group. This is not what I want, as in each site group I have multiple languages versions.  
  > **username_1**: Strange, I just tested again and it only disables entries in the currently selected site, even if my 2 sites are in the same site group.  
  > **username_0**: Thanks! This website is running an old Craft Pro 3.0.22 version: maybe there were a related issue in this one. I tried on a brand new Craft Pro 3.5.9, and entries were disabled as explained in your answer. That said, the SQL query would probably be a quickest choice in a case of hundreds of entries to disable.  
  
  ---
  
  ### Answer by username_0 on 2020-09-15. Score: 2
  
  I finally ended up with this SQL query, which result to disable all Entries of a site version:
  
  ```
  UPDATE `craft_elements_sites` SET `enabled` = '0' WHERE `craft_elements_sites`.`siteId` = 2;
  
  ```
  
  Where `2` is the `siteId`. After that, don't forget to clear the templates caches.
  
  
  ---
  
  