Any pile of organic matter will eventually rot, but a well-chosen site can speed up the process. Look for a level, well-drained area. If you plan to add kitchen scraps, keep it accessible to the back door. Don’t put it so far away you’ll neglect the pile. In cooler latitudes, keep the pile in a sunny spot to trap solar heat. Look for some shelter to protect the pile from freezing cold winds which could slow down the decaying process. In warm, dry latitudes, shelter the pile in a shadier spot so it doesn’t dry out too quickly.
Build the pile over soil or lawn rather than concrete or asphalt, to take advantage of the earthworms, beneficial microbes, and other decomposers, which will migrate up and down as the seasons change. Uncovered soil also allows for drainage. If tree roots are extending their roots into the pile, turn it frequently so they can’t make headway.
Look for a spot that allows you to compost discretely, especially if you have neighboring yards in close proximity. Aim for distance and visual barriers between the pile and the neighbors.