Upvote:3
It is safe for tourists to visit Cairo and Giza Pyramids, Cairo is in the green zone as per the UK Gov Travel Advice
It is recommended to have pre-booked trip to Giza Pyramids and it is highlighted in UK travel safety and security for Cairo as well, and the risk here is not related to politics and protests or even terrorism, the risk is people who work in tourism industry are trying to make more money to cover the business by any mean.
Most of visitors spend one day in Cairo to visit Giza Pyramids and then travel to other destinations like Luxur, Aswan, Hurghada and Sharm Elsheikh.
The trip from airport to Giza Pyramids takes around 90 minutes via high way which is very far from the city center.