'Issue with making environmental raster layers identical for Maxent

I have nine raster layers (.tif) and each needs to have the same extent, resolution and CRS in order to work in Maxent. I have tried converting each layer to the same CRS and translating them to .asc format in QGIS. After that I tried to resample the layers in R to match one of the layers, but this resulted in errors, such as that the extents do not overlap. My question is how do I match all these layers in order to proceed with Maxent and also to use the 'stack' function in R?

Here is the zip-file with the rasters: https://drive.google.com/file/d/1lle95SPdQ7FyQSbFoFvmAzyuO2HUt7-L/view?usp=sharing



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source