title: TYPO3 10.4.21 Pages accessible only via their id
body: <p>Following a migration, I am trying to reconfigure TYPO3.
  The backend is accessible by its url and I manage to connect. But the home page for example gives me the following error: <em><strong>The page did not exist or was inaccessible. Reason: No site configuration found.</strong></em></p>
  <p>All pages are not accessible by their url normally but are accessible through different query parameters, like <em>/index.php?id=2&amp;L=0</em>.</p>
  <p>I already tried to replace the .htaccess with the basic one provided by TYPO3, I also checked the Apache configuration and everything seems to be ok. I am not familiar with the TYPO3 CMS so I don't know if some of these configurations are done directly in its files. To me, it seems to be a mod_rewrite problem but I can't find it.</p>
  <p>Someone would have a solution or at least a track to solve this problem?</p>