We want to setup magento as mentioned in below
Please help on this and also confirm if it will work with magento 2.4 security standard.
We are running multi website setup under :staging.example.com/abc
Assume that we have Folder 1 as A and Folder 2 as B.
And folder B is under folder A.
Set up your Magento in folder B and install the Magento. then you need to set your URL (example.com) in folder A.
By this, your first requirement will be full fill. The Magento site will open with this URL. "example.com/B"
After that create the index.php file under folder A and add your placeholder code under that file.
If my answer is helpful full then please set the accept solution flag and kudos flag so other members can take the same reference.