We prepared blend alignment layers from polymethacrylate with coumarin side chains (PMA-g-coumarin) and polyimides for the orientation of liquid crystals (LCs) using linearly polarized ultraviolet (UV) irradiation. We used two different polyimides, namely 4,4'-(hexafluoro-isopropylidene) diphthalic anhydride-3,5-diamino-benzoic acid (6FDA-DBA) and pyromellitic dianhydride-4,4'-oxydianiline (PMDA-ODA). It was found that the molecular orientation of the LC depended on the type of polyimide in the blend alignment layer. The thermal stability of the LC orientation was enhanced regardless of the type of polyimide, while the direction of LC orientation was different for each type of polyimide. The photoreactivity of the polyimide was a very important factor in determining the molecular orientation of the LC on the blend alignment layer. This may be attributed to the different mechanisms of LC orientation on PMA-g-coumarin and polyimide induced by the polarized UV irradiation. The direction of the LC orientation could be changed by controlling the photoreaction of the polyimides using the appropriate UV filter for the polarized UV irradiation.