Orientation of churches
The orientation of a building is the direction it faces and how it is laid out. Builders think about what the building is for, how easy it is for people to use, how it sits in relation to the sun, and the area around it. In church architecture, orientation means that the main point of interest inside the building faces east (Latin: oriens). The east end is where the altar is placed, often inside an apse. The façade and main entrance are at the west end.
When people enter from the east and the sanctuary is at the other end, this is called occidentation.
Most churches built since the eighth century are oriented this way. In many churches, though, the altar end is not really the east end of the building. People still often say "east end", "west door", and "north aisle" as if it were. They treat the altar end as the liturgical east.
History
Many early Christians faced east when they prayed. Tertullian said this custom led some non-Christians to think they worshipped the sun. Origen said the reasons for turning east in prayer are hard to discover. Later, various Church Fathers gave mystical reasons. One idea was that Christ's Second Coming would come from the east, based on a verse from the Gospel of Matthew. At first, the direction of the building where Christians met did not matter. After the legalization of the religion by the Roman Empire in the fourth century, customs grew. These customs differed in Eastern and Western Christianity.
The Apostolic Constitutions was an Eastern work written between AD 375 and 380. It said churches should have the sanctuary, with an apse and sacristies, at the east end, so Christians could pray facing east. The altar stood in the middle. The bishop's throne was behind it, and the seats of the presbyters were beside it. The laity sat on the opposite side. Some Eastern churches, such as those in Tyre, Lebanon, still had their entrance at the east end. The earliest churches in Rome also had their entrance to the east, like the temple in Jerusalem. Only in the 8th or 9th century did Rome adopt the direction that had become required in the Byzantine Empire. It was also widely used in the Frankish Empire and elsewhere in western and northern Europe. The original Constantinian Church of the Holy Sepulchre in Jerusalem also had its altar at the west end.
The older Roman custom of putting the altar at the west end was sometimes still followed as late as the 11th century. This happened in areas under Frankish rule, such as Petershausen (Constance), Bamberg Cathedral, Augsburg Cathedral, Regensburg Cathedral, and Hildesheim Cathedral in present-day Germany.
After the 15th century, church orientation became less important in Europe. Charles Borromeo, archbishop of Milan from 1560 to 1584, preferred an apse pointing exactly east. However, he accepted a north–south layout when east was not practical. He even allowed the altar at the west end, where Mass was celebrated facing the people. Medieval mendicant orders fitted their churches into town plans, no matter which direction they faced. In the Spanish and Portuguese colonial empires, orientation was often ignored. One example is the San Francisco de Asis Mission Church near Taos, New Mexico. Today, church orientation is rarely followed when churches are built in the West.
Inexactitude of orientation
Borromeo said that churches should face due east, toward the sunrise at the equinoxes, not at the solstices. However, some churches seem to face the sunrise on the feast day of their patron saint. For example, St. Stephen's Cathedral, Vienna lines up with the sunrise on Saint Stephen's Day, 26 December, in the year 1137 under the Julian calendar, when building began.
A 2006 study of old English churches found almost no link to the feast days of their saints. The results also did not support the idea that compass readings caused the differences. Overall, these churches face roughly east, but not exactly. Another study, of fewer English churches, found that the saint's day idea explained about 43% of cases when sunset was also counted. It also found that many churches lined up with the sunrise on Easter morning in the year they were founded. A study of 32 medieval churches in Lower Austria and northern Germany found few matches with saints' feast days. It did show a clear preference for true east. The differences were caused by nearby towns and the natural landscape.
Some buildings were shaped by their surroundings. Quimper Cathedral in Brittany bends slightly in the middle to fit the land. This helped it avoid an area that was swampy when it was built. The modern Coventry Cathedral faces north to south, at right angles to the old cathedral. The old one was damaged in a bombing during a war. The new building's porch extends over the old wall, as a way of showing that the two are connected.

Quiz time!
4 questions about Orientation of churches
In church buildings, which direction does the main point of interest inside face?
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Orientation of churches, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.