Rioja is a municipality of Almería province, in the autonomous community of Andalusia, Spain. It should not be confused with La Rioja (autonomous community) in the north, known for its distinctive wine.