Clavijo is a municipality of the autonomous community of La Rioja. It is located near the capital, Logroño. As of 2009, its population was of 2…Clavijo is a municipality of the autonomous community of La Rioja. It is located near the capital, Logroño. As of 2009, its population was of 276 inhabitants. In 834, according to a 12th-century spurious charter and later traditional records, the legendary battle of Clavijo between Ramiro I of Asturias and Abd ar-Rahman II of Córdoba took place nearby, but the battle was a fabrication and didn't take place.