I had a staging version for a WordPress site that contained a child theme as the main one, and everything was working well. After a few weeks, the staging site suddenly keeps redirecting to the live version and the child theme is not showing in the theme's appearance section anymore.
This all happened without any modifications. Any idea why it happened and how to fix it?