One dimensional gratings patterned on the surface of nanocrystalline titania electrodes are used as a light harvesting strategy to improve the overall performance of dye solar cells under both frontal and rear illumination conditions. A soft-lithography-based micromoulding approach is employed to replicate a periodic surface relief pattern onto the surface of the electrode, which is later sensitized with a dye. As the patterned surface acts as an optical grating both in reflection and transmission modes, its effect is to increase the light path of diffracted beams within the absorbing layer when it is irradiated either from the electrode or the counter electrode for a broad range of angles of incidence on each surface. Full optical and photovoltaic characterization demonstrates not only the optical quality of the patterned surfaces but also the multidirectional character of the enhancement of light harvesting and conversion efficiency. The approach herein presented thus permits to preserve the operation of the cell when irradiated from its two faces while increasing its overall power conversion efficiency. This feature is a key advantage over other light harvesting efficiency enhancing methods, such as the deposition of a back diffuse scattering layer, in which the performance of the cell under illumination from one of its sides is enlarged at the expense of reducing the output under reverse irradiation conditions.