Axial orientation of discotic columnar liquid crystals in nanopores of inorganic templates, with the columns parallel to the axis of the nanochannels, is considered desirable for applications such as production of molecular wires. Here, we evaluate experimentally the role of the rigidity of the LC columns in achieving such orientation in nanopores where the planar anchoring (i.e., columns parallel to wall surface) is enforced. We studied the columnar phase of several discotic compounds with increasing column rigidity in the following order: dendronized carbazole, hexakis(hexyloxy)triphenylene (HAT6), a 1:1 HAT6-trinitrofluorenone (TNF) complex, and a helicene derivative. Using 2-D X-ray diffraction, AFM, grazing incidence diffraction, and polarized microscopy, we observed that the orientation of the columns changes from circular concentric to axial with increasing column rigidity. Additionally, when the rigidity is borderline, increasing pore diameter can change the configuration from axial back to circular. We derive expressions for distortion free energy that suggest that the orientation is determined by the competition between, on the one hand, the distortion energy of the 2-d lattice and the mismatch of its crystallographic facets with the curved pore wall in the axial orientation and, on the other hand, the bend energy of the columns in the circular configuration. Furthermore, the highly detailed AFM images of the core of the disclinations of strength +1 and +1/2 in the center of the pore reveal that the columns spiral down to the very center of the disclination and that there is no amorphous or misaligned region at the core, as suggested previously.