Most pubs developed in the mid-1800s were built on corners because they needed two entrances by law - one leading to the public bar, and one that went to accommodation directly, without the need to walk through any areas where alchohol was served.